Skip to content

Commit 38d18b7

Browse files
committed
Fixed pytest
1 parent 7b9e990 commit 38d18b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testing_tests/test_estimators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ def setUpClass(cls) -> None:
8585
def test_ate(self):
8686
df = self.scarf_df
8787
logistic_regression_estimator = LogisticRegressionEstimator(('length_in',), 65, 55, set(), ('completed',), df)
88-
ate = logistic_regression_estimator.estimate_ate()
88+
ate, _ = logistic_regression_estimator.estimate_ate()
8989
self.assertEqual(round(ate, 4), -0.1987)
9090

9191
def test_risk_ratio(self):
9292
df = self.scarf_df
9393
logistic_regression_estimator = LogisticRegressionEstimator(('length_in',), 65, 55, set(), ('completed',), df)
94-
rr = logistic_regression_estimator.estimate_risk_ratio()
94+
rr, _ = logistic_regression_estimator.estimate_risk_ratio()
9595
self.assertEqual(round(rr, 4), 0.7664)
9696

9797
def test_odds_ratio(self):

0 commit comments

Comments
 (0)