Skip to content

Commit d648c3b

Browse files
authored
Mark tests that use s3fs (#1190)
1 parent 561428c commit d648c3b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

fsspec/implementations/tests/test_local.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ def test_urlpath_inference_errors():
104104
get_fs_token_paths([])
105105
assert "empty" in str(err.value)
106106

107+
pytest.importorskip("s3fs")
107108
# Protocols differ
108109
with pytest.raises(ValueError) as err:
109110
get_fs_token_paths(["s3://test/path.csv", "/other/path.csv"])

fsspec/tests/test_core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ def test_pickle_after_open_open():
194194

195195

196196
def test_mismatch():
197+
pytest.importorskip("s3fs")
197198
with pytest.raises(ValueError):
198199
open_files(["s3://test/path.csv", "/other/path.csv"])
199200

0 commit comments

Comments
 (0)