diff options
author | Kingsley M <37349466+kingdom5500@users.noreply.github.com> | 2019-04-12 16:35:39 +0100 |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2019-04-12 08:35:39 -0700 |
commit | b015fc86f7b1f35283804bfee788cce0a5495df7 (patch) | |
tree | 71d67a16fb6f713d49f1ffbc13dc99722b3e2905 /Lib/test/string_tests.py | |
parent | f13c5c8b9401a9dc19e95d8b420ee100ac022208 (diff) | |
download | cpython-git-b015fc86f7b1f35283804bfee788cce0a5495df7.tar.gz |
bpo-36549: str.capitalize now titlecases the first character instead of uppercasing it (GH-12804)
Diffstat (limited to 'Lib/test/string_tests.py')
-rw-r--r-- | Lib/test/string_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py index 561b09a2d5..836a43b81d 100644 --- a/Lib/test/string_tests.py +++ b/Lib/test/string_tests.py @@ -977,7 +977,7 @@ class CommonTest(BaseTest): def test_capitalize_nonascii(self): # check that titlecased chars are lowered correctly # \u1ffc is the titlecased char - self.checkequal('\u03a9\u0399\u1ff3\u1ff3\u1ff3', + self.checkequal('\u1ffc\u1ff3\u1ff3\u1ff3', '\u1ff3\u1ff3\u1ffc\u1ffc', 'capitalize') # check with cased non-letter chars self.checkequal('\u24c5\u24e8\u24e3\u24d7\u24de\u24dd', |