From b015fc86f7b1f35283804bfee788cce0a5495df7 Mon Sep 17 00:00:00 2001 From: Kingsley M <37349466+kingdom5500@users.noreply.github.com> Date: Fri, 12 Apr 2019 16:35:39 +0100 Subject: bpo-36549: str.capitalize now titlecases the first character instead of uppercasing it (GH-12804) --- Lib/test/string_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/string_tests.py') 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', -- cgit v1.2.1