Skip to content

Commit e75c724

Browse files
committed
Minor tweaks.
1 parent 0641137 commit e75c724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sparse/mlir_backend/tests/test_simple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def test_reshape(rng, dtype, format, shape, new_shape):
336336
except RuntimeError:
337337
pytest.xfail("No library to compare to.")
338338

339-
expected = sparse.asarray(arr_sps.reshape(new_shape).asformat(scipy_format)) if scipy_format is not None else arr
339+
expected = sparse.asarray(arr_sps.reshape(new_shape).asformat(scipy_format))
340340

341341
for x, y in zip(expected.get_constituent_arrays(), actual.get_constituent_arrays(), strict=True):
342342
np.testing.assert_array_equal(x, y)

0 commit comments

Comments
 (0)