Skip to content

Commit 3b95c97

Browse files
authored
Update src/zarr/storage/_common.py
1 parent 7e75042 commit 3b95c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/storage/_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ def _is_pytest_legacy_path(path: Any) -> bool:
346346
# https://docs.pytest.org/en/stable/how-to/tmp_path.html#tmp-path
347347
try:
348348
from _pytest.compat import LEGACY_PATH
349-
except ImportError:
349+
except ImportError: # pragma: no cover
350350
return False
351351
return isinstance(path, LEGACY_PATH)
352352

0 commit comments

Comments
 (0)