Skip to content

Commit d78dd57

Browse files
committed
removed a local?
1 parent 37d3c66 commit d78dd57

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

causal_testing/json_front/json_class.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,13 @@ def run_json_tests(self, effects: dict, estimators: dict, f_flag: bool = False,
135135
self.scenario.variables[v] for v in test.get("effect_modifiers", [])
136136
},
137137
)
138-
msg = f"Executing test: {test['name']} \n" + f" {causal_test_case} \n"
139138
result = self._execute_test_case(causal_test_case=causal_test_case, test=test, f_flag=f_flag)
140-
msg += (
141-
" "
139+
msg = (
140+
f"Executing test: {test['name']} \n"
141+
+ f" {causal_test_case} \n"
142+
+ " "
142143
+ ("\n ").join(str(result[1]).split("\n"))
143-
+ f"==============\n"
144+
+ "==============\n"
144145
+ f" Result: {'FAILED' if result[0] else 'Passed'}"
145146
)
146147
else:

0 commit comments

Comments
 (0)