Skip to content

Commit 64eca5c

Browse files
committed
Fix test_inconsistent_steps_and_shape
1 parent f363118 commit 64eca5c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pymc/tests/distributions/test_timeseries.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ def test_missing_steps(self):
122122
GaussianRandomWalk.dist(shape=None, init_dist=Normal.dist(0, 100))
123123

124124
def test_inconsistent_steps_and_shape(self):
125-
with pytest.raises(AssertionError, match="Steps do not match last shape dimension"):
125+
with pytest.raises(
126+
AssertionError, match="support_shape does not match last shape dimension"
127+
):
126128
x = GaussianRandomWalk.dist(steps=12, shape=45, init_dist=Normal.dist(0, 100))
127129

128130
def test_inferred_steps_from_dims(self):

0 commit comments

Comments
 (0)