Skip to content

Commit fa5373e

Browse files
committed
#858 add coverage
1 parent 0c5270e commit fa5373e

File tree

1 file changed

+3
-0
lines changed
  • tests/unit/test_expression_tree/test_operations

1 file changed

+3
-0
lines changed

tests/unit/test_expression_tree/test_operations/test_jac.py

+3
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,14 @@ def test_nonlinear(self):
107107

108108
def test_multislice_raises(self):
109109
y1 = pybamm.StateVector(slice(0, 4), slice(7, 8))
110+
y_dot1 = pybamm.StateVectorDot(slice(0, 4), slice(7, 8))
110111
y2 = pybamm.StateVector(slice(4, 7))
111112
with self.assertRaises(NotImplementedError):
112113
y1.jac(y1)
113114
with self.assertRaises(NotImplementedError):
114115
y2.jac(y1)
116+
with self.assertRaises(NotImplementedError):
117+
y_dot1.jac(y1)
115118

116119
def test_linear_ydot(self):
117120
y = pybamm.StateVector(slice(0, 4))

0 commit comments

Comments
 (0)