We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afd399c commit 2c4a099Copy full SHA for 2c4a099
test/test_log_prob.py
@@ -28,7 +28,9 @@ def test_lp_bad(self):
28
model = CmdStanModel(stan_file=BERN_STAN)
29
30
with LogCapture(level=logging.ERROR) as log:
31
- with self.assertRaisesRegex(RuntimeError, "failed with returncode"):
+ with self.assertRaisesRegex(
32
+ RuntimeError, "failed with return code"
33
+ ):
34
model.log_prob({"not_here": 0.1}, data=BERN_DATA)
35
36
log.check_present(
0 commit comments