We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11b2c78 commit b2442baCopy full SHA for b2442ba
tests/test_store/test_core.py
@@ -1,4 +1,3 @@
1
-import importlib
2
import tempfile
3
from pathlib import Path
4
@@ -120,10 +119,10 @@ async def test_make_store_path_invalid() -> None:
120
119
await make_store_path(1) # type: ignore[arg-type]
121
122
123
-@pytest.mark.skipif(not importlib.util.find_spec("requests"), reason="requires requests")
124
-@pytest.mark.skipif(not importlib.util.find_spec("aiohttp"), reason="requires aiohttp")
125
async def test_make_store_path_fsspec(monkeypatch) -> None:
126
pytest.importorskip("fsspec")
+ pytest.importorskip("requests")
+ pytest.importorskip("aiohttp")
127
store_path = await make_store_path("http://foo.com/bar")
128
assert isinstance(store_path.store, FsspecStore)
129
0 commit comments