summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2022-01-18 08:02:35 (GMT)
committerGitHub <noreply@github.com>2022-01-18 08:02:35 (GMT)
commit243c31667cc15a9a338330ad9b2a29b1cd1c76ec (patch)
treedf4b4382a31cd4a29d03109bdeeb400a199e0cf2 /Lib/test/test_sys.py
parenta287b31bcb065e4122400cb59167340d25480e6d (diff)
downloadcpython-243c31667cc15a9a338330ad9b2a29b1cd1c76ec.zip
cpython-243c31667cc15a9a338330ad9b2a29b1cd1c76ec.tar.gz
cpython-243c31667cc15a9a338330ad9b2a29b1cd1c76ec.tar.bz2
bpo-42161: Hoist the _PyLong_GetOne() call out of the inner loop. (GH-30656)
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 f05cd75..2c8c6ab 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -1375,7 +1375,7 @@ class SizeofTest(unittest.TestCase):
x = codecs.charmap_build(encodings.iso8859_3.decoding_table)
check(x, size('32B2iB'))
# enumerate
- check(enumerate([]), size('n3P'))
+ check(enumerate([]), size('n4P'))
# reverse
check(reversed(''), size('nP'))
# float