summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-06-26 03:54:45 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-06-26 03:54:45 (GMT)
commit9003760991145584ec1f11d4eed3242dd4467c05 (patch)
treefa046f973ea9b0bdd388ddb0373e13e3513b93cb /Lib/test/test_sys.py
parent935fa016f48d794253257e6a8e65c091593a7664 (diff)
downloadcpython-9003760991145584ec1f11d4eed3242dd4467c05.zip
cpython-9003760991145584ec1f11d4eed3242dd4467c05.tar.gz
cpython-9003760991145584ec1f11d4eed3242dd4467c05.tar.bz2
map cells to arg slots at code creation time (closes #12399)
This removes nested loops in PyEval_EvalCodeEx.
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 bc0f34c..4355ef5 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -665,7 +665,7 @@ class SizeofTest(unittest.TestCase):
return inner
check(get_cell().__closure__[0], size(h + 'P'))
# code
- check(get_cell().__code__, size(h + '5i8Pi3P'))
+ check(get_cell().__code__, size(h + '5i9Pi3P'))
# complex
check(complex(0,1), size(h + '2d'))
# method_descriptor (descriptor object)