diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 9dce15ed1529e76..396b11d2d00d7f2 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -1487,7 +1487,7 @@ class C(object): pass def func(): return sys._getframe() x = func() - check(x, size('3Pi3c7P2ic??2P')) + check(x, size('3Pi3c7P2ic??2PPi')) # function def func(): pass check(func, size('15Pi')) @@ -1504,7 +1504,7 @@ def bar(cls): check(bar, size('PP')) # generator def get_gen(): yield 1 - check(get_gen(), size('PP4P4c7P2ic??2P')) + check(get_gen(), size('PP4P4c7P2ic??2PPi')) # iterator check(iter('abc'), size('lP')) # callable-iterator