Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelClerx committed Mar 15, 2019
1 parent 08be11a commit 13537f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pints/tests/test_error_measures.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,8 @@ def test_sum_of_errors(self):
e = pints.SumOfErrors([e4, e5, e1], [2.1, 3.4, 6.5])
self.assertTrue(np.isnan(e(x)))

# Wrong number of arguments
self.assertRaises(ValueError, pints.SumOfErrors, [e1], [1])
# Wrong number of ErrorMeasures
self.assertRaises(ValueError, pints.SumOfErrors, [], [])

# Wrong argument types
self.assertRaises(
Expand Down

0 comments on commit 13537f6

Please sign in to comment.