summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2023-02-23 10:19:01 (GMT)
committerGitHub <noreply@github.com>2023-02-23 10:19:01 (GMT)
commit22b8d77b98a5944e688be0927b8139c49d4a7257 (patch)
treec3693ee3bc939140e9ad885677d58cab59673993 /Lib/test/test_sys.py
parent572223f9ce99e8816abdcc1536db6c4ceed2d848 (diff)
downloadcpython-22b8d77b98a5944e688be0927b8139c49d4a7257.zip
cpython-22b8d77b98a5944e688be0927b8139c49d4a7257.tar.gz
cpython-22b8d77b98a5944e688be0927b8139c49d4a7257.tar.bz2
GH-100719: Remove redundant `gi_code` field from generator object. (GH-100749)
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r--Lib/test/test_sys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index ab1a065..58aa9d1 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -1460,7 +1460,7 @@ class SizeofTest(unittest.TestCase):
check(bar, size('PP'))
# generator
def get_gen(): yield 1
- check(get_gen(), size('P2P4P4c7P2ic??2P'))
+ check(get_gen(), size('PP4P4c7P2ic??2P'))
# iterator
check(iter('abc'), size('lP'))
# callable-iterator