We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0953267 commit 27c118dCopy full SHA for 27c118d
tests/unit/test_expression_tree/test_binary_operators.py
@@ -207,6 +207,8 @@ def test_sparse_multiply(self):
207
(pybammS1 * pybammS2).test_shape()
208
with self.assertRaisesRegex(pybamm.ShapeError, "inconsistent shapes"):
209
(pybammS2 * pybammS1).test_shape()
210
+ with self.assertRaisesRegex(pybamm.ShapeError, "inconsistent shapes"):
211
+ (pybammS2 * pybammS1).evaluate_ignoring_errors()
212
213
# Matrix multiplication is normal matrix multiplication
214
np.testing.assert_array_equal(
0 commit comments