Skip to content

Commit 950623c

Browse files
committed
Updating notebook
1 parent 101d62a commit 950623c

File tree

2 files changed

+56
-60
lines changed

2 files changed

+56
-60
lines changed

causalpy/tests/test_integration_pymc_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ def test_its_no_treatment_time():
423423
treatment_time = (pd.to_datetime("2014-01-01"), pd.to_datetime("2022-01-01"))
424424

425425
# Assert that we correctfully raise a value if the given model can't predict InterventionTime
426-
with pytest.raises(ValueError) as exc_info:
426+
with pytest.raises(cp.custom_exceptions.ModelException) as exc_info:
427427
cp.InterruptedTimeSeries(
428428
df,
429429
treatment_time,

docs/source/notebooks/its_no_treatment_time.ipynb

Lines changed: 55 additions & 59 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)