From b90705891131967101d235329e17b01d12d82d84 Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Fri, 10 Nov 2023 12:07:20 +0100 Subject: [PATCH] Split long path into multiple lines --- tests/unit/test_fsspec_streaming.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_fsspec_streaming.py b/tests/unit/test_fsspec_streaming.py index fde69812..e431a4be 100644 --- a/tests/unit/test_fsspec_streaming.py +++ b/tests/unit/test_fsspec_streaming.py @@ -4,6 +4,7 @@ try: import s3fs import fsspec + HAVE_FSSPEC = True except ImportError: HAVE_FSSPEC = False @@ -13,12 +14,15 @@ class TestFSSpecStreaming(unittest.TestCase): - @unittest.skipIf(not HAVE_FSSPEC, "fsspec not installed") def test_fsspec_streaming(self): # PLACEHOLDER test file from Allen Insitute for Neural Dynamics # TODO: store a small test file and use it to speed up testing - remote_path = "s3://aind-open-data/ecephys_625749_2022-08-03_15-15-06_nwb_2023-05-16_16-34-55/ecephys_625749_2022-08-03_15-15-06_nwb/ecephys_625749_2022-08-03_15-15-06_experiment1_recording1.nwb.zarr/" + remote_path = ( + "s3://aind-open-data/ecephys_625749_2022-08-03_15-15-06_nwb_2023-05-16_16-34-55/" + "ecephys_625749_2022-08-03_15-15-06_nwb/" + "ecephys_625749_2022-08-03_15-15-06_experiment1_recording1.nwb.zarr/" + ) with NWBZarrIO(remote_path, "r") as io: nwbfile = io.read()