Skip to content

Commit 9641319

Browse files
Dictionary assertions use list CIs
1 parent 8e33b25 commit 9641319

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/testing_tests/test_causal_test_outcome.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def test_Positive_fail_ci(self):
107107
ctr = CausalTestResult(
108108
estimator=self.estimator,
109109
test_value=test_value,
110-
confidence_intervals=[-1, 1],
110+
confidence_intervals=[pd.Series(-1), pd.Series(1)],
111111
effect_modifier_configuration=None,
112112
)
113113
ev = Positive()
@@ -274,8 +274,8 @@ def test_someEffect_str(self):
274274
"adjustment_set": set(),
275275
"effect_estimate": 0,
276276
"effect_measure": "ate",
277-
"ci_low": -0.1,
278-
"ci_high": 0.2,
277+
"ci_low": [-0.1],
278+
"ci_high": [0.2],
279279
},
280280
)
281281

@@ -298,8 +298,8 @@ def test_someEffect_dict(self):
298298
"adjustment_set": set(),
299299
"effect_estimate": 0,
300300
"effect_measure": "ate",
301-
"ci_low": -0.1,
302-
"ci_high": 0.2,
301+
"ci_low": [-0.1],
302+
"ci_high": [0.2],
303303
},
304304
)
305305

0 commit comments

Comments
 (0)