mirror of
https://github.com/python/cpython.git
synced 2025-08-15 22:30:42 +00:00
Merged revisions 77821 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77821 | mark.dickinson | 2010-01-29 17:11:39 +0000 (Fri, 29 Jan 2010) | 3 lines Issue #7788: Fix a crash produced by deleting a list slice with huge step value. Patch by Marcin Bachry. ........
This commit is contained in:
parent
ae03bc5488
commit
0273354ab6
7 changed files with 17 additions and 5 deletions
|
@ -519,6 +519,9 @@ class CommonTest(seq_tests.CommonTest):
|
|||
a = self.type2test(range(10))
|
||||
a[::2] = tuple(range(5))
|
||||
self.assertEqual(a, self.type2test([0, 1, 1, 3, 2, 5, 3, 7, 4, 9]))
|
||||
# test issue7788
|
||||
a = self.type2test(range(10))
|
||||
del a[9::1<<333]
|
||||
|
||||
def test_constructor_exception_handling(self):
|
||||
# Bug #1242657
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue