Skip to content

Commit 02490e7

Browse files
committed
Reduce number of tests for duration
1 parent 9456bb2 commit 02490e7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
@pytest.mark.parametrize("s", [10, 25, 50])
17-
@pytest.mark.parametrize("d", [1, 2, 3])
17+
@pytest.mark.parametrize("d", [1, 3])
1818
@pytest.mark.parametrize("innovations", [True, False])
1919
@pytest.mark.parametrize("remove_first_state", [True, False])
2020
@pytest.mark.filterwarnings(
@@ -54,7 +54,7 @@ def random_word(rng):
5454
assert mod.coords["state_season"] == state_names[test_slice]
5555

5656

57-
@pytest.mark.parametrize("d", [1, 2, 3])
57+
@pytest.mark.parametrize("d", [1, 3])
5858
@pytest.mark.parametrize(
5959
"remove_first_state", [True, False], ids=["remove_first_state", "keep_first_state"]
6060
)
@@ -146,8 +146,7 @@ def test_time_seasonality_multiple_observed(rng, d, remove_first_state):
146146
np.testing.assert_allclose(matrix, expected)
147147

148148

149-
@pytest.mark.parametrize("d1", [1, 2, 3])
150-
@pytest.mark.parametrize("d2", [1, 2, 3])
149+
@pytest.mark.parametrize("d1, d2", [(1, 1), (1, 3), (3, 1), (3, 3)])
151150
def test_add_two_time_seasonality_different_observed(rng, d1, d2):
152151
mod1 = st.TimeSeasonality(
153152
season_length=3,

0 commit comments

Comments
 (0)