Skip to content

Commit 56a470b

Browse files
convert logger string to fstring
1 parent 8365f04 commit 56a470b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

causal_testing/json_front/json_class.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def generate_tests(self, effects: dict, mutates: dict, estimators: dict, f_flag:
125125
logger.info("Number of concrete tests for test case: %s", str(len(concrete_tests)))
126126
failures = self._execute_tests(concrete_tests, estimators, test, f_flag)
127127

128-
logger.info("{%d}/{%d} failed", failures, str(len(concrete_tests)))
128+
logger.info(f"{failures}/{len(concrete_tests)} failed")
129129

130130
def _execute_tests(self, concrete_tests, estimators, test, f_flag):
131131
failures = 0

0 commit comments

Comments
 (0)