We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6f2330f + b10cc0a commit 5c5b3bfCopy full SHA for 5c5b3bf
1 file changed
pints/tests/test_nested_sampling.py
@@ -77,7 +77,7 @@ def test_construction_errors(self):
77
# First arg must be a log likelihood
78
self.assertRaisesRegex(
79
ValueError, 'must extend pints.LogLikelihood',
80
- pints.NestedRejectionSampler, self.log_prior, self.log_prior)
+ pints.NestedRejectionSampler, 'hello', self.log_prior)
81
82
# First arg must be a log prior
83
@@ -234,7 +234,7 @@ def test_construction_errors(self):
234
235
236
237
- pints.NestedEllipsoidSampler, self.log_prior, self.log_prior)
+ pints.NestedEllipsoidSampler, 'hiya', self.log_prior)
238
239
240
0 commit comments