diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-16 17:19:02 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-16 17:19:02 (GMT) |
commit | 5bb8b9134b0bb35a73c76657f41cafa3e4361fcd (patch) | |
tree | 5755343717913be71dc48d94db681d1a21ff31d2 /Lib/test/test_sys.py | |
parent | 14d8b9693be235240ab2dcac3b43a4a7c30483bc (diff) | |
download | cpython-5bb8b9134b0bb35a73c76657f41cafa3e4361fcd.zip cpython-5bb8b9134b0bb35a73c76657f41cafa3e4361fcd.tar.gz cpython-5bb8b9134b0bb35a73c76657f41cafa3e4361fcd.tar.bz2 |
Issue #18896: Python function can now have more than 255 parameters.
collections.namedtuple() now supports tuples with more than 255 elements.
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r-- | Lib/test/test_sys.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 828421c..e6d8e50 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -926,7 +926,7 @@ class SizeofTest(unittest.TestCase): def inner(): return x return inner - check(get_cell2.__code__, size('6i13P') + 1) + check(get_cell2.__code__, size('6i13P') + calcsize('n')) # complex check(complex(0,1), size('2d')) # method_descriptor (descriptor object) |