summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_bytes.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-03-30 18:01:26 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-03-30 18:01:26 (GMT)
commit8dc2ec1513e90a8d23394f1c4ec3a07c4e057610 (patch)
tree9ab12f22a0ce6dd8a08a84aa7bd9c99fc21506db /Lib/test/test_bytes.py
parentfbb1c5ee068d209e33f6e15ecb4821d5d8b107fa (diff)
downloadcpython-8dc2ec1513e90a8d23394f1c4ec3a07c4e057610.zip
cpython-8dc2ec1513e90a8d23394f1c4ec3a07c4e057610.tar.gz
cpython-8dc2ec1513e90a8d23394f1c4ec3a07c4e057610.tar.bz2
Issue #26492: Added additional tests for exhausted iterators of mutable sequences.
Diffstat (limited to 'Lib/test/test_bytes.py')
-rw-r--r--Lib/test/test_bytes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_bytes.py b/Lib/test/test_bytes.py
index 1bd3a1e..01ba5e5 100644
--- a/Lib/test/test_bytes.py
+++ b/Lib/test/test_bytes.py
@@ -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):
#