diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-08-15 10:04:28 +0300 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-08-15 10:04:28 +0300 |
commit | ea7b6f6e2a0484d6cebbe687e04b143b12cfd6ef (patch) | |
tree | 5adfd2f30993471b479af1d6d756e7499f44b038 /Lib/test/string_tests.py | |
parent | 15d6b65ead4bc2cce509fe16decce311f1f1bd71 (diff) | |
download | cpython-git-ea7b6f6e2a0484d6cebbe687e04b143b12cfd6ef.tar.gz |
#12266: move the tests in test_unicode.
Diffstat (limited to 'Lib/test/string_tests.py')
-rw-r--r-- | Lib/test/string_tests.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py index 9cf334573d..5931f3d88b 100644 --- a/Lib/test/string_tests.py +++ b/Lib/test/string_tests.py @@ -96,23 +96,6 @@ class CommonTest(unittest.TestCase): self.checkequal('Aaaa', 'aaaa', 'capitalize') self.checkequal('Aaaa', 'AaAa', 'capitalize') - # check that titlecased chars are lowered correctly - # \u1ffc is the titlecased char - self.checkequal(u'\u1ffc\u1ff3\u1ff3\u1ff3', - u'\u1ff3\u1ff3\u1ffc\u1ffc', 'capitalize') - # check with cased non-letter chars - self.checkequal(u'\u24c5\u24e8\u24e3\u24d7\u24de\u24dd', - u'\u24c5\u24ce\u24c9\u24bd\u24c4\u24c3', 'capitalize') - self.checkequal(u'\u24c5\u24e8\u24e3\u24d7\u24de\u24dd', - u'\u24df\u24e8\u24e3\u24d7\u24de\u24dd', 'capitalize') - self.checkequal(u'\u2160\u2171\u2172', - u'\u2160\u2161\u2162', 'capitalize') - self.checkequal(u'\u2160\u2171\u2172', - u'\u2170\u2171\u2172', 'capitalize') - # check with Ll chars with no upper - nothing changes here - self.checkequal(u'\u019b\u1d00\u1d86\u0221\u1fb7', - u'\u019b\u1d00\u1d86\u0221\u1fb7', 'capitalize') - self.checkraises(TypeError, 'hello', 'capitalize', 42) def test_count(self): |