diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2010-12-03 14:26:13 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2010-12-03 14:26:13 (GMT) |
commit | 37ee850b1073f3b8e85855ed02d5dc3d11c5fe62 (patch) | |
tree | f8ec863a8239f5a298951f529ed2b18cdccdc0aa /Lib/test/test_sys.py | |
parent | fad058f0caca689fffad29617d0858caa13291ad (diff) | |
download | cpython-37ee850b1073f3b8e85855ed02d5dc3d11c5fe62.zip cpython-37ee850b1073f3b8e85855ed02d5dc3d11c5fe62.tar.gz cpython-37ee850b1073f3b8e85855ed02d5dc3d11c5fe62.tar.bz2 |
Issue 2690: Add support for slicing and negative indices to range objects (includes precalculation and storage of the range length).
Refer to the tracker issue for the language moratorium implications of this change
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r-- | Lib/test/test_sys.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 21f0edc..d7d77f0 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -782,8 +782,8 @@ class SizeofTest(unittest.TestCase): # reverse check(reversed(''), size(h + 'PP')) # range - check(range(1), size(h + '3P')) - check(range(66000), size(h + '3P')) + check(range(1), size(h + '4P')) + check(range(66000), size(h + '4P')) # set # frozenset PySet_MINSIZE = 8 |