Skip to content

Commit 3d63114

Browse files
Debian Science Teamginggs
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 e733bac commit 3d63114

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)