Skip to content

Commit

Permalink
Fix test_wasi
Browse files Browse the repository at this point in the history
  • Loading branch information
Fidget-Spinner committed Jan 21, 2025
1 parent 8036199 commit d3d1dbf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Lib/test/test_sys.py
Original file line number Diff line number Diff line change
Expand Up @@ -1620,10 +1620,11 @@ class C(object): pass
def func():
return sys._getframe()
x = func()
LLTRACE = 'c' if support.Py_DEBUG else ''
if support.Py_GIL_DISABLED:
INTERPRETER_FRAME = '10PhccP'
INTERPRETER_FRAME = f'10Phc{LLTRACE}P'
else:
INTERPRETER_FRAME = '9PhcccP'
INTERPRETER_FRAME = f'9Phc{LLTRACE}P'
check(x, size('3PiccPP' + INTERPRETER_FRAME + 'P'))
# function
def func(): pass
Expand Down

0 comments on commit d3d1dbf

Please sign in to comment.