Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions upath/tests/implementations/test_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ def test_pathlib_consistent_join():


def test_copy__object_key_collides_with_dir_prefix(s3_server, tmp_path):
pytest.importorskip("s3fs")
anon, s3so = s3_server

s3 = fsspec.filesystem("s3", anon=anon, **{**s3so, "use_listings_cache": False})
Expand Down
4 changes: 4 additions & 0 deletions upath/tests/test_relative.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ def test_protocol_storage_options_fs_preserved(protocol, storage_options, path,

assert rel.protocol == protocol
assert dict(**rel.storage_options) == storage_options
try:
rel.fs
except ImportError:
pytest.skip(reason=f"{protocol} not available")
assert isinstance(rel.fs, type(p.fs))


Expand Down