We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8036199 commit d3d1dbfCopy full SHA for d3d1dbf
1 file changed
Lib/test/test_sys.py
@@ -1620,10 +1620,11 @@ class C(object): pass
1620
def func():
1621
return sys._getframe()
1622
x = func()
1623
+ LLTRACE = 'c' if support.Py_DEBUG else ''
1624
if support.Py_GIL_DISABLED:
- INTERPRETER_FRAME = '10PhccP'
1625
+ INTERPRETER_FRAME = f'10Phc{LLTRACE}P'
1626
else:
- INTERPRETER_FRAME = '9PhcccP'
1627
+ INTERPRETER_FRAME = f'9Phc{LLTRACE}P'
1628
check(x, size('3PiccPP' + INTERPRETER_FRAME + 'P'))
1629
# function
1630
def func(): pass
0 commit comments