Skip to content

Commit

Permalink
#709 coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinsulzer committed Feb 3, 2020
1 parent 0953267 commit 27c118d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/test_expression_tree/test_binary_operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ def test_sparse_multiply(self):
(pybammS1 * pybammS2).test_shape()
with self.assertRaisesRegex(pybamm.ShapeError, "inconsistent shapes"):
(pybammS2 * pybammS1).test_shape()
with self.assertRaisesRegex(pybamm.ShapeError, "inconsistent shapes"):
(pybammS2 * pybammS1).evaluate_ignoring_errors()

# Matrix multiplication is normal matrix multiplication
np.testing.assert_array_equal(
Expand Down

0 comments on commit 27c118d

Please sign in to comment.