From b2ee88690e27ed82ad7f3e21b695b0ff425f47a5 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 2 Mar 2023 20:53:19 -0500 Subject: [PATCH] skip test_nwb2asset_remote_asset if no fsspec installed fsspec installed only in "[extras]" extra_requires, so not by default. I tested that it is enough of "pip install fsspec" without "[http]" extras and test passes then --- dandi/tests/test_metadata.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dandi/tests/test_metadata.py b/dandi/tests/test_metadata.py index 2bd14c4bb..6155bb1d0 100644 --- a/dandi/tests/test_metadata.py +++ b/dandi/tests/test_metadata.py @@ -800,6 +800,7 @@ def test_nwb2asset(simple2_nwb: Path) -> None: def test_nwb2asset_remote_asset( new_dandiset: SampleDandiset, organized_nwb_dir: Path ) -> None: + pytest.importorskip("fsspec") d = new_dandiset.dandiset dspath = new_dandiset.dspath (nwb_file,) = [