Skip to content

Commit e3273e8

Browse files
committed
fsspec path handling: remove test for scheme in path
1 parent d38c186 commit e3273e8

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
@@ -238,14 +238,6 @@ def test_from_upath(self) -> None:
238238
assert result.fs.asynchronous
239239
assert result.path == f"{test_bucket_name}/foo/bar"
240240

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

0 commit comments

Comments
 (0)