diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-29 16:23:27 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-29 16:23:27 (GMT) |
commit | 1b74d630da388ace3187101c821d55b0799580d4 (patch) | |
tree | e758b347ab14e10da65053f73e7efe09eae9c0db | |
parent | bfbfc8deb2b1a1886fc5af74da593e9409dc99b9 (diff) | |
parent | 48070c1248c97238493025553fe474ad9eca168d (diff) | |
download | cpython-1b74d630da388ace3187101c821d55b0799580d4.zip cpython-1b74d630da388ace3187101c821d55b0799580d4.tar.gz cpython-1b74d630da388ace3187101c821d55b0799580d4.tar.bz2 |
Added explicit tests for issue #23803.
-rw-r--r-- | Lib/test/test_unicode.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 4e4f7a9..2773fe5 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -404,6 +404,7 @@ class UnicodeTest(string_tests.CommonTest, def test_partition(self): string_tests.MixinStrUnicodeUserStringTest.test_partition(self) # test mixed kinds + self.checkequal(('ABCDEFGH', '', ''), 'ABCDEFGH', 'partition', '\u4200') for left, right in ('ba', '\u0101\u0100', '\U00010301\U00010300'): left *= 9 right *= 9 @@ -420,6 +421,7 @@ class UnicodeTest(string_tests.CommonTest, def test_rpartition(self): string_tests.MixinStrUnicodeUserStringTest.test_rpartition(self) # test mixed kinds + self.checkequal(('', '', 'ABCDEFGH'), 'ABCDEFGH', 'rpartition', '\u4200') for left, right in ('ba', '\u0101\u0100', '\U00010301\U00010300'): left *= 9 right *= 9 |