Skip to content

Commit 3a6e481

Browse files
committed
fix one test
1 parent 38f1ab5 commit 3a6e481

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

codeflash/verification/codeflash_capture.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,8 @@ def wrapper(*args, **kwargs) -> None: # noqa: ANN002, ANN003
112112

113113
# Generate invocation id
114114
invocation_id = f"{line_id}_{codeflash_test_index}"
115-
print(
116-
f"!######{test_module_name}:{(test_class_name + '.' if test_class_name else '')}{test_name}:{function_name}:{loop_index}:{invocation_id}######!"
117-
)
115+
test_stdout_tag = f"{test_module_name}:{(test_class_name + '.' if test_class_name else '')}{test_name}:{function_name}:{loop_index}:{invocation_id}"
116+
print(f"!$######{test_stdout_tag}######$!")
118117
# Connect to sqlite
119118
codeflash_con = sqlite3.connect(f"{tmp_dir_path}_{codeflash_iteration}.sqlite")
120119
codeflash_cur = codeflash_con.cursor()
@@ -131,6 +130,7 @@ def wrapper(*args, **kwargs) -> None: # noqa: ANN002, ANN003
131130
exception = e
132131
finally:
133132
gc.enable()
133+
print(f"!######{test_stdout_tag}######!")
134134

135135
# Capture instance state after initialization
136136
if hasattr(args[0], "__dict__"):

0 commit comments

Comments
 (0)