Skip to content

Commit 2137091

Browse files
committed
remove asserts which weren't doing the job I intended
1 parent fad78d8 commit 2137091

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

causalpy/tests/test_integration_pymc_examples.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -375,12 +375,6 @@ def test_its():
375375
)
376376
assert isinstance(df, pd.DataFrame)
377377
assert isinstance(result, cp.InterruptedTimeSeries)
378-
assert result.pre_impact.shape[1] == len(result.treated_units), (
379-
"Mismatch between pre_impact shape and number of treated units"
380-
)
381-
assert result.post_impact.shape[1] == len(result.treated_units), (
382-
"Mismatch between post_impact shape and number of treated units"
383-
)
384378
assert len(result.idata.posterior.coords["chain"]) == sample_kwargs["chains"]
385379
assert len(result.idata.posterior.coords["draw"]) == sample_kwargs["draws"]
386380
result.summary()

causalpy/tests/test_integration_skl_examples.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,6 @@ def test_its():
109109
)
110110
assert isinstance(df, pd.DataFrame)
111111
assert isinstance(result, cp.InterruptedTimeSeries)
112-
assert result.pre_impact.shape[1] == len(result.treated_units), (
113-
"Mismatch between pre_impact shape and number of treated units"
114-
)
115-
assert result.post_impact.shape[1] == len(result.treated_units), (
116-
"Mismatch between post_impact shape and number of treated units"
117-
)
118112
result.summary()
119113
fig, ax = result.plot()
120114
assert isinstance(fig, plt.Figure)

0 commit comments

Comments
 (0)