Skip to content

Commit 27c118d

Browse files
#709 coverage
1 parent 0953267 commit 27c118d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit/test_expression_tree/test_binary_operators.py

+2
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ def test_sparse_multiply(self):
207207
(pybammS1 * pybammS2).test_shape()
208208
with self.assertRaisesRegex(pybamm.ShapeError, "inconsistent shapes"):
209209
(pybammS2 * pybammS1).test_shape()
210+
with self.assertRaisesRegex(pybamm.ShapeError, "inconsistent shapes"):
211+
(pybammS2 * pybammS1).evaluate_ignoring_errors()
210212

211213
# Matrix multiplication is normal matrix multiplication
212214
np.testing.assert_array_equal(

0 commit comments

Comments
 (0)