File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments