@@ -125,10 +125,7 @@ def codeflash_wrap(wrapped, test_module_name, test_class_name, test_name, functi
125125 codeflash_test_index = codeflash_wrap.index[test_id]
126126 invocation_id = f'{{line_id}}_{{codeflash_test_index}}'
127127 """
128- if sys .version_info < (3 , 12 ):
129- expected += """print(f"!######{{test_module_name}}:{{(test_class_name + '.' if test_class_name else '')}}{{test_name}}:{{function_name}}:{{loop_index}}:{{invocation_id}}######!")"""
130- else :
131- expected += """print(f'!######{{test_module_name}}:{{(test_class_name + '.' if test_class_name else '')}}{{test_name}}:{{function_name}}:{{loop_index}}:{{invocation_id}}######!')"""
128+ expected += """print(f"!######{{test_module_name}}:{{(test_class_name + '.' if test_class_name else '')}}{{test_name}}:{{function_name}}:{{loop_index}}:{{invocation_id}}######!")"""
132129 expected += """
133130 exception = None
134131 gc.disable()
@@ -226,10 +223,7 @@ def codeflash_wrap(wrapped, test_module_name, test_class_name, test_name, functi
226223 codeflash_test_index = codeflash_wrap.index[test_id]
227224 invocation_id = f'{{line_id}}_{{codeflash_test_index}}'
228225 """
229- if sys .version_info < (3 , 12 ):
230- expected += """print(f"!######{{test_module_name}}:{{(test_class_name + '.' if test_class_name else '')}}{{test_name}}:{{function_name}}:{{loop_index}}:{{invocation_id}}######!")"""
231- else :
232- expected += """print(f'!######{{test_module_name}}:{{(test_class_name + '.' if test_class_name else '')}}{{test_name}}:{{function_name}}:{{loop_index}}:{{invocation_id}}######!')"""
226+ expected += """print(f"!######{{test_module_name}}:{{(test_class_name + '.' if test_class_name else '')}}{{test_name}}:{{function_name}}:{{loop_index}}:{{invocation_id}}######!")"""
233227 expected += """
234228 exception = None
235229 gc.disable()
@@ -2842,10 +2836,7 @@ def codeflash_wrap(wrapped, test_module_name, test_class_name, test_name, functi
28422836 codeflash_test_index = codeflash_wrap.index[test_id]
28432837 invocation_id = f'{{line_id}}_{{codeflash_test_index}}'
28442838"""
2845- if sys .version_info < (3 , 12 ):
2846- expected += """ print(f"!######{{test_module_name}}:{{(test_class_name + '.' if test_class_name else '')}}{{test_name}}:{{function_name}}:{{loop_index}}:{{invocation_id}}######!")"""
2847- else :
2848- expected += """ print(f'!######{{test_module_name}}:{{(test_class_name + '.' if test_class_name else '')}}{{test_name}}:{{function_name}}:{{loop_index}}:{{invocation_id}}######!')"""
2839+ expected += """ print(f"!######{{test_module_name}}:{{(test_class_name + '.' if test_class_name else '')}}{{test_name}}:{{function_name}}:{{loop_index}}:{{invocation_id}}######!")"""
28492840 expected += """
28502841 exception = None
28512842 gc.disable()
0 commit comments