Skip to content

Commit 6e9064b

Browse files
committed
Move test import to top of file
1 parent 0ded7f9 commit 6e9064b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

dandi/tests/test_files.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from ..consts import ZARR_MIME_TYPE, dandiset_metadata_file
1717
from ..dandiapi import AssetType, RemoteZarrAsset
1818
from ..exceptions import UnknownAssetError
19+
from ..files.bases import _multipart_upload as real_multipart_upload
1920
from ..files import (
2021
BIDSDatasetDescriptionAsset,
2122
DandisetMetadataFile,
@@ -544,8 +545,6 @@ def test_upload_zarr_large_chunks(new_dandiset, tmp_path):
544545
zf = dandi_file(filepath)
545546
assert isinstance(zf, ZarrAsset)
546547

547-
from ..files.bases import _multipart_upload as real_multipart_upload
548-
549548
called_paths: list[str] = []
550549

551550
def spy_multipart_upload(**kwargs):

0 commit comments

Comments
 (0)