Skip to content

Commit 381b7b0

Browse files
Fix ruff/bugbear issue (B015)
B015 Pointless comparison. Did you mean to assign a value? Otherwise, prepend `assert` or remove it. https://docs.astral.sh/ruff/rules/useless-comparison/
1 parent 4abb3cd commit 381b7b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zarr/tests/test_storage_v3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def test_rename_nonexisting(self):
286286

287287
def test_get_partial_values(self):
288288
store = self.create_store()
289-
store.supports_efficient_get_partial_values in [True, False]
289+
assert store.supports_efficient_get_partial_values in [True, False]
290290
store[data_root + "foo"] = b"abcdefg"
291291
store[data_root + "baz"] = b"z"
292292
assert [b"a"] == store.get_partial_values([(data_root + "foo", (0, 1))])

0 commit comments

Comments
 (0)