We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cd9c0d commit 974b1f1Copy full SHA for 974b1f1
codeflash/optimization/optimizer.py
@@ -99,7 +99,7 @@ def run(self) -> None:
99
function_to_tests: dict[str, list[FunctionCalledInTest]] = discover_unit_tests(self.test_cfg)
100
num_discovered_tests: int = sum([len(value) for value in function_to_tests.values()])
101
console.rule()
102
- logger.info(f"Discovered {num_discovered_tests} existing unit tests in {time.time() - start_time}s at {self.test_cfg.tests_root}")
+ logger.info(f"Discovered {num_discovered_tests} existing unit tests in {(time.time() - start_time):.1f}s at {self.test_cfg.tests_root}")
103
104
ph("cli-optimize-discovered-tests", {"num_tests": num_discovered_tests})
105
0 commit comments