Skip to content

Commit da5290c

Browse files
Debian Science TeamJochen Sprickerhof
Debian Science Team
authored and
Jochen Sprickerhof
committed
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 d215917 commit da5290c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/tests/io/test_fsspec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
@pytest.fixture
3232
def cleared_fs():
33-
fsspec = pytest.importorskip("fsspec")
33+
fsspec = pytest.importorskip("fsspec", "0.7.4")
3434

3535
memfs = fsspec.filesystem("memory")
3636
yield memfs

pandas/tests/io/test_pickle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ def mock_urlopen_read(*args, **kwargs):
519519
tm.assert_frame_equal(df, result)
520520

521521

522-
@td.skip_if_no("fsspec")
522+
@td.skip_if_no("fsspec", "0.7.4")
523523
def test_pickle_fsspec_roundtrip():
524524
with tm.ensure_clean():
525525
mockurl = "memory://afile"

0 commit comments

Comments
 (0)