From: Georg Brandl Date: Sat, 10 Jun 2006 06:44:50 +0000 (+0000) Subject: Add the new test from the #1503157 patch to the branch. X-Git-Tag: v2.4.4c1~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9cab1882b88a5e1f01d92f807757514683913a9;p=thirdparty%2FPython%2Fcpython.git Add the new test from the #1503157 patch to the branch. --- diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py index c8ed07cf60f3..b4300767f7fa 100644 --- a/Lib/test/string_tests.py +++ b/Lib/test/string_tests.py @@ -584,6 +584,8 @@ class MixinStrUnicodeUserStringTest: # test.test_string.StringTest.test_join) self.checkequal('a b c d', ' ', 'join', ['a', 'b', 'c', 'd']) self.checkequal('abcd', '', 'join', ('a', 'b', 'c', 'd')) + self.checkequal('bd', '', 'join', ('', 'b', '', 'd')) + self.checkequal('ac', '', 'join', ('a', '', 'c', '')) self.checkequal('w x y z', ' ', 'join', Sequence()) self.checkequal('abc', 'a', 'join', ('abc',)) self.checkequal('z', 'a', 'join', UserList(['z']))