Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbailey committed Dec 14, 2019
1 parent 4eff5b8 commit 8dc4f76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_likelihood.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ def test_likelihood(self):
"""
Test a likelihood
"""
self.assertRaises(ValueError, Likelihood(-1))
with self.assertRaises(ValueError):
Likelihood(-1)
self.assertEqual(self.likelihood["name"], str(LAM))
self.assertEqual(self.likelihood["lam"], LAM)
self.assertIsNotNone(self.likelihood.plot())
Expand Down

0 comments on commit 8dc4f76

Please sign in to comment.