Skip to content

Commit 5c5b3bf

Browse files
committed
Merge branch 'master' of github.com:pints-team/pints
2 parents 6f2330f + b10cc0a commit 5c5b3bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pints/tests/test_nested_sampling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def test_construction_errors(self):
7777
# First arg must be a log likelihood
7878
self.assertRaisesRegex(
7979
ValueError, 'must extend pints.LogLikelihood',
80-
pints.NestedRejectionSampler, self.log_prior, self.log_prior)
80+
pints.NestedRejectionSampler, 'hello', self.log_prior)
8181

8282
# First arg must be a log prior
8383
self.assertRaisesRegex(
@@ -234,7 +234,7 @@ def test_construction_errors(self):
234234
# First arg must be a log likelihood
235235
self.assertRaisesRegex(
236236
ValueError, 'must extend pints.LogLikelihood',
237-
pints.NestedEllipsoidSampler, self.log_prior, self.log_prior)
237+
pints.NestedEllipsoidSampler, 'hiya', self.log_prior)
238238

239239
# First arg must be a log prior
240240
self.assertRaisesRegex(

0 commit comments

Comments
 (0)