Skip to content

Commit 287cb57

Browse files
make test less arbitrary
Co-authored-by: Jesse Grabowski <[email protected]>
1 parent e7fa843 commit 287cb57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/statespace/models/structural/components/test_autoregressive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def test_autoregressive_shared_and_not_shared():
166166

167167
# make sure param_info is correct
168168
# shound't have endog state when share_states is True
169-
assert "endog_" not in shared.param_info["params_shared_ar"]["dims"][0]
169+
assert not any(dim.startwith("endog_") for dim in shared.param_info["params_shared_ar"]["dims"])
170170
assert shared.param_info["sigma_shared_ar"]["dims"] is None
171171

172172
individual = st.AutoregressiveComponent(

0 commit comments

Comments
 (0)