Issue #26492: Added additional tests for exhausted iterators of mutable sequences.

This commit is contained in:
Serhiy Storchaka 2016-03-30 21:01:26 +03:00
parent fbb1c5ee06
commit 8dc2ec1513
3 changed files with 24 additions and 0 deletions

View file

@ -17,6 +17,7 @@ import unittest
import test.support
import test.string_tests
import test.buffer_tests
import test.list_tests
from test.support import bigaddrspacetest, MAX_Py_ssize_t
@ -1323,6 +1324,7 @@ class ByteArrayTest(BaseBytesTest, unittest.TestCase):
b[:] = data
self.assertEqual(list(it), [])
test_exhausted_iterator = test.list_tests.CommonTest.test_exhausted_iterator
class AssortedBytesTest(unittest.TestCase):
#