Skip to content

Commit 46e4148

Browse files
committed
only test if the async wrapper is available
1 parent 13238ff commit 46e4148

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_store/test_fsspec.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,10 @@ async def test_delete_dir_wrapped_filesystem(tmp_path: Path) -> None:
428428
assert not await store.exists("foo/c/0")
429429

430430

431+
@pytest.mark.skipif(
432+
parse_version(fsspec.__version__) < parse_version("2024.12.0"),
433+
reason="No AsyncFileSystemWrapper",
434+
)
431435
async def test_with_read_only_auto_mkdir(tmp_path: Path) -> None:
432436
"""
433437
Test that creating a read-only copy of a store backed by the local file system does not error

0 commit comments

Comments
 (0)