Skip to content

Commit bfe4179

Browse files
committed
Update hypothesis_testing.py
1 parent f628526 commit bfe4179

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

codeflash/verification/hypothesis_testing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,11 @@ def visit_FunctionDef(self, node): # noqa: ANN001, ANN202
181181
ast.fix_missing_locations(modified_tree)
182182
unparsed = ast.unparse(modified_tree)
183183

184+
console.print(f"modified src: {unparsed}")
185+
184186
hypothesis_test_suite_code = format_code(
185187
args.formatter_cmds,
186-
function_to_optimize.file_path,
188+
hypothesis_path,
187189
optimized_code=make_hypothesis_tests_deterministic(remove_functions_with_only_any_type(unparsed)),
188190
)
189191
with hypothesis_path.open("w", encoding="utf-8") as f:

0 commit comments

Comments
 (0)