summaryrefslogtreecommitdiff
path: root/Lib/test/seq_tests.py
diff options
context:
space:
mode:
authorJim Fasarakis-Hilliard <d.f.hilliard@gmail.com>2017-03-27 22:35:52 +0300
committerBrett Cannon <brettcannon@users.noreply.github.com>2017-03-27 12:35:52 -0700
commitd702c50049207d825c1d5925fbc7306514fa9a0a (patch)
tree46ba3a1b68ff939b14c0f1a6dca56a342c7cd42e /Lib/test/seq_tests.py
parentd6debb24e06152a827769b0cac24c47deccdeac1 (diff)
downloadcpython-git-d702c50049207d825c1d5925fbc7306514fa9a0a.tar.gz
bpo-29912: Remove redundant tests in list_tests that are found in seq_tests (GH-847)
Diffstat (limited to 'Lib/test/seq_tests.py')
-rw-r--r--Lib/test/seq_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/seq_tests.py b/Lib/test/seq_tests.py
index 1e7a6f6522..6aedd2be94 100644
--- a/Lib/test/seq_tests.py
+++ b/Lib/test/seq_tests.py
@@ -301,6 +301,8 @@ class CommonTest(unittest.TestCase):
u = self.type2test([0, 1])
u *= 3
self.assertEqual(u, self.type2test([0, 1, 0, 1, 0, 1]))
+ u *= 0
+ self.assertEqual(u, self.type2test([]))
def test_getitemoverwriteiter(self):
# Verify that __getitem__ overrides are not recognized by __iter__