We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4e4d2b commit 38c8b4fCopy full SHA for 38c8b4f
1 file changed
src/zarr/testing/strategies.py
@@ -490,10 +490,9 @@ def basic_indices(
490
allow_newaxis=allow_newaxis,
491
allow_ellipsis=allow_ellipsis,
492
).filter(
493
- # Note: mypy behavior varies by version - some versions see redundant-expr here
494
lambda idxr: not (
495
is_negative_slice(idxr)
496
- or (isinstance(idxr, tuple) and any(is_negative_slice(idx) for idx in idxr)) # type: ignore[redundant-expr]
+ or (isinstance(idxr, tuple) and any(is_negative_slice(idx) for idx in idxr))
497
)
498
499
if math.prod(shape) >= 3:
0 commit comments