File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -375,12 +375,6 @@ def test_its():
375
375
)
376
376
assert isinstance (df , pd .DataFrame )
377
377
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
- )
384
378
assert len (result .idata .posterior .coords ["chain" ]) == sample_kwargs ["chains" ]
385
379
assert len (result .idata .posterior .coords ["draw" ]) == sample_kwargs ["draws" ]
386
380
result .summary ()
Original file line number Diff line number Diff line change @@ -109,12 +109,6 @@ def test_its():
109
109
)
110
110
assert isinstance (df , pd .DataFrame )
111
111
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
- )
118
112
result .summary ()
119
113
fig , ax = result .plot ()
120
114
assert isinstance (fig , plt .Figure )
You can’t perform that action at this time.
0 commit comments