Skip to content

Commit 94183fc

Browse files
committed
fsspec path handling: remove test for scheme in path
1 parent bbc2536 commit 94183fc

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/test_store/test_fsspec.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -241,14 +241,6 @@ def test_from_upath(self) -> None:
241241
assert result.fs.asynchronous
242242
assert result.path == f"{test_bucket_name}/foo/bar"
243243

244-
def test_init_raises_if_path_has_scheme(self, store_kwargs: dict[str, Any]) -> None:
245-
# regression test for https://github.com/zarr-developers/zarr-python/issues/2342
246-
store_kwargs["path"] = "s3://" + store_kwargs["path"]
247-
with pytest.raises(
248-
ValueError, match="path argument to FsspecStore must not include scheme .*"
249-
):
250-
self.store_cls(**store_kwargs)
251-
252244
def test_init_warns_if_fs_asynchronous_is_false(self) -> None:
253245
try:
254246
from fsspec import url_to_fs

0 commit comments

Comments
 (0)