Skip to content

Commit c080089

Browse files
committed
Update test.test_sys to account for smaller frames.
1 parent e7c4bf2 commit c080089

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_sys.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,7 @@ class C(object): pass
13861386
def func():
13871387
return sys._getframe()
13881388
x = func()
1389-
check(x, size('3Pi3c8P2ic?P'))
1389+
check(x, size('3Pi3c7P2ic??P'))
13901390
# function
13911391
def func(): pass
13921392
check(func, size('14Pi'))
@@ -1403,7 +1403,7 @@ def bar(cls):
14031403
check(bar, size('PP'))
14041404
# generator
14051405
def get_gen(): yield 1
1406-
check(get_gen(), size('P2P4P4c8P2ic?P'))
1406+
check(get_gen(), size('P2P4P4c7P2ic??P'))
14071407
# iterator
14081408
check(iter('abc'), size('lP'))
14091409
# callable-iterator

0 commit comments

Comments
 (0)