Skip to content

Commit

Permalink
Support Python 3.13.
Browse files Browse the repository at this point in the history
Don't add full support, because dependencies don't work yet.
  • Loading branch information
donkirkby committed May 18, 2024
1 parent 22a48eb commit b359a03
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/PySrc/tests/test_code_tracer_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1241,9 +1241,12 @@ def foo(x):
x = 42
return 62'''
if (3, 12, 0) <= sys.version_info:
replacement = "'sys' is not defined. Did you forget to import 'sys'"
if (3, 13, 0) <= sys.version_info:
replacement += '?'
expected_report = expected_report.replace(
"'sys' is not defined",
"'sys' is not defined. Did you forget to import 'sys'")
replacement)

with replace_input(code):
report = TraceRunner().trace_command([
Expand Down

0 comments on commit b359a03

Please sign in to comment.