Skip to content

Commit

Permalink
Replace zip(..., strict=False) with zip(..., strict=True) where p…
Browse files Browse the repository at this point in the history
…ossible.
  • Loading branch information
hameerabbasi committed Nov 14, 2024
1 parent 4b491b5 commit 4b314c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sparse/mlir_backend/tests/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def test_coo_3d_format(dtype):

result_arrays = sparse.add(coo_array, coo_array).asformat(coo_array.format).get_constituent_arrays()
constituent_arrays = (pos, *crd, data * 2)
for actual, expected in zip(result_arrays, constituent_arrays, strict=False):
for actual, expected in zip(result_arrays, constituent_arrays, strict=True):
np.testing.assert_array_equal(actual, expected)


Expand Down

0 comments on commit 4b314c2

Please sign in to comment.