Skip to content

Commit

Permalink
fix test_sys
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel committed Aug 30, 2023
1 parent 564622a commit 354eb8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/test/test_sys.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand All @@ -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
Expand Down

0 comments on commit 354eb8c

Please sign in to comment.