Skip to content

Commit e5114ed

Browse files
Debian Science Teamrebecca-palmer
Debian Science Team
authored andcommitted
Skip rather than fail tests if fsspec is too old
(which it currently is in Debian) Author: Rebecca N. Palmer <[email protected]> Forwarded: no Gbp-Pq: Name fsspec_version.patch
1 parent 59739c9 commit e5114ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/tests/io/test_fsspec.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
@pytest.fixture
2222
def cleared_fs():
23-
fsspec = pytest.importorskip("fsspec")
23+
fsspec = pytest.importorskip("fsspec", "0.7.4")
2424

2525
memfs = fsspec.filesystem("memory")
2626
yield memfs

pandas/tests/io/test_pickle.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ def mock_urlopen_read(*args, **kwargs):
455455
tm.assert_frame_equal(df, result)
456456

457457

458-
@td.skip_if_no("fsspec")
458+
@td.skip_if_no("fsspec", "0.7.4")
459459
def test_pickle_fsspec_roundtrip():
460460
with tm.ensure_clean():
461461
mockurl = "memory://afile"

0 commit comments

Comments
 (0)