Skip to content

Commit e2d3901

Browse files
committed
Update test_instrument_tests.py
1 parent cd2adab commit e2d3901

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_instrument_tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,10 @@ def codeflash_wrap(wrapped, test_module_name, test_class_name, test_name, functi
127127
invocation_id = f'{{line_id}}_{{codeflash_test_index}}'
128128
"""
129129
if sys.version_info < (3, 12):
130+
print("sys.version_info < (3, 12)")
130131
expected += """print(f"!######{{test_module_name}}:{{(test_class_name + '.' if test_class_name else '')}}{{test_name}}:{{function_name}}:{{loop_index}}:{{invocation_id}}######!")"""
131132
else:
133+
print("sys.version_info >= (3, 12)")
132134
expected += """print(f'!######{{test_module_name}}:{{(test_class_name + '.' if test_class_name else '')}}{{test_name}}:{{function_name}}:{{loop_index}}:{{invocation_id}}######!')"""
133135
expected += """
134136
exception = None

0 commit comments

Comments
 (0)