Skip to content

Commit 4af8442

Browse files
committed
minor fixes
1 parent b3e38f2 commit 4af8442

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codeflash/verification/parse_line_profile_test_output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def parse_line_profile_results(line_profiler_output_file: Path | None) -> dict:
7676
line_profiler_output_file = line_profiler_output_file.with_suffix(".lprof")
7777
stats_dict = {}
7878
if not line_profiler_output_file.exists():
79-
return {'timings':{},'unit':0}
79+
return {'timings':{},'unit':0, 'str_out':''}, None
8080
else:
8181
with open(line_profiler_output_file,'rb') as f:
8282
stats = pickle.load(f)

tests/test_instrument_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
TestFiles,
2222
TestingMode,
2323
TestsInFile,
24-
TestType,
24+
TestType, CodeOptimizationContext,
2525
)
2626
from codeflash.optimization.function_optimizer import FunctionOptimizer
2727
from codeflash.verification.verification_utils import TestConfig

0 commit comments

Comments
 (0)