cpython: dd2c7d497878 (original) (raw)

Mercurial > cpython

changeset 106142:dd2c7d497878 3.5

Issues #1621, #29145: Test for str.join() overflow [#1621]

Martin Panter vadmium+py@gmail.com
date Thu, 12 Jan 2017 11:54:59 +0000
parents 80fc40a9ae47
children e3e129cdf85c 2b2f890c481e
files Lib/test/test_unicode.py
diffstat 1 files changed, 7 insertions(+), 0 deletions(-)[+] [-] Lib/test/test_unicode.py 7

line wrap: on

line diff

--- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -464,6 +464,13 @@ class UnicodeTest(string_tests.CommonTes self.checkraises(TypeError, ' ', 'join', [1, 2, 3]) self.checkraises(TypeError, ' ', 'join', ['1', '2', 3])

+ def test_replace(self): string_tests.CommonTest.test_replace(self)