Skip to content

Commit 2491359

Browse files
committed
another unused
1 parent ba1028c commit 2491359

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

causal_testing/json_front/json_class.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def run_json_tests(self, effects: dict, estimators: dict, f_flag: bool = False,
143143
f"Executing test: {test['name']} \n"
144144
+ f" {causal_test_case} \n"
145145
+ f" {result[1]}==============\n"
146-
+ f" Result: {'FAILED' if failed[0] else 'Passed'}"
146+
+ f" Result: {'FAILED' if result[0] else 'Passed'}"
147147
)
148148
else:
149149
abstract_test = self._create_abstract_test_case(test, mutates, effects)
@@ -176,7 +176,7 @@ def run_json_tests(self, effects: dict, estimators: dict, f_flag: bool = False,
176176
treatment_value=test["treatment_value"],
177177
estimate_type=test["estimate_type"],
178178
)
179-
failed, result = self._execute_test_case(causal_test_case=causal_test_case, test=test, f_flag=f_flag)
179+
failed, _ = self._execute_test_case(causal_test_case=causal_test_case, test=test, f_flag=f_flag)
180180
if failed:
181181
result = "failed"
182182
else:

0 commit comments

Comments
 (0)