Skip to content

Commit d1f1813

Browse files
committed
add 3.13 to the test suite
1 parent cc0dfe3 commit d1f1813

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/unit-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
python-version: ["3.9", "3.10", "3.11", "3.12"]
14+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1515
continue-on-error: true
1616
runs-on: ubuntu-latest
1717
steps:

tests/test_instrument_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def codeflash_wrap(wrapped, test_module_name, test_class_name, test_name, functi
129129
codeflash_test_index = codeflash_wrap.index[test_id]
130130
invocation_id = f'{{line_id}}_{{codeflash_test_index}}'
131131
"""
132-
if sys.version_info < (3, 12):
132+
if sys.version_info > (3, 12):
133133
expected += """test_stdout_tag = f"{{test_module_name}}:{{(test_class_name + '.' if test_class_name else '')}}{{test_name}}:{{function_name}}:{{loop_index}}:{{invocation_id}}"
134134
"""
135135
else:
@@ -233,7 +233,7 @@ def codeflash_wrap(wrapped, test_module_name, test_class_name, test_name, functi
233233
codeflash_test_index = codeflash_wrap.index[test_id]
234234
invocation_id = f'{{line_id}}_{{codeflash_test_index}}'
235235
"""
236-
if sys.version_info < (3, 12):
236+
if sys.version_info > (3, 12):
237237
expected += """test_stdout_tag = f"{{test_module_name}}:{{(test_class_name + '.' if test_class_name else '')}}{{test_name}}:{{function_name}}:{{loop_index}}:{{invocation_id}}"
238238
"""
239239
else:

0 commit comments

Comments
 (0)