Skip to content

Commit b372d22

Browse files
Add estimator_params to test
1 parent 8cbf150 commit b372d22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testing_tests/test_estimators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def test_program_15_no_interaction_ate_calculated(self):
394394
# for term_to_square in terms_to_square:
395395

396396
ate, [ci_low, ci_high] = linear_regression_estimator.estimate_ate_calculated(
397-
adjustment_config={k: self.nhefs_df.mean()[k] for k in covariates}
397+
estimator_params={"adjustment_config": {k: self.nhefs_df.mean()[k] for k in covariates}}
398398
)
399399
self.assertEqual(round(ate, 1), 3.5)
400400
self.assertEqual([round(ci_low, 1), round(ci_high, 1)], [1.9, 5])

0 commit comments

Comments
 (0)