Skip to content

Commit ac53115

Browse files
committed
Revert "Adjust test for coverage."
This reverts commit 7758dd6.
1 parent 1b54a95 commit ac53115

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

causalpy/tests/test_pymc_experiments.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,15 @@
1010
def test_did_summary():
1111
"""Test that the summary stat function returns a string."""
1212
df = cp.load_data("did")
13-
round_to = 2
1413
result = cp.pymc_experiments.DifferenceInDifferences(
1514
df,
1615
formula="y ~ 1 + group*post_treatment",
1716
time_variable_name="t",
1817
group_variable_name="group",
1918
model=cp.pymc_models.LinearRegression(sample_kwargs=sample_kwargs),
2019
)
21-
print(type(result._causal_impact_summary_stat(round_to)))
22-
assert isinstance(result._causal_impact_summary_stat(round_to), str)
20+
print(type(result._causal_impact_summary_stat()))
21+
assert isinstance(result._causal_impact_summary_stat(), str)
2322

2423

2524
def test_regression_kink_gradient_change():

0 commit comments

Comments
 (0)