Skip to content

Commit 8cbf150

Browse files
fix test
1 parent b3bb0b4 commit 8cbf150

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/testing_tests/test_estimators.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,9 @@ def test_program_15_no_interaction_ate_calculated(self):
392392
)
393393
# terms_to_square = ["age", "wt71", "smokeintensity", "smokeyrs"]
394394
# for term_to_square in terms_to_square:
395+
395396
ate, [ci_low, ci_high] = linear_regression_estimator.estimate_ate_calculated(
396-
{k: self.nhefs_df.mean()[k] for k in covariates}
397+
adjustment_config={k: self.nhefs_df.mean()[k] for k in covariates}
397398
)
398399
self.assertEqual(round(ate, 1), 3.5)
399400
self.assertEqual([round(ci_low, 1), round(ci_high, 1)], [1.9, 5])

0 commit comments

Comments
 (0)