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

This commit is contained in:
Serhiy Storchaka 2016-03-30 21:01:45 +03:00
commit f39c0ac62f
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
@ -1418,6 +1419,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):
#