diff options
author | Kingsley M <37349466+kingdom5500@users.noreply.github.com> | 2019-04-12 15:35:39 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2019-04-12 15:35:39 (GMT) |
commit | b015fc86f7b1f35283804bfee788cce0a5495df7 (patch) | |
tree | 71d67a16fb6f713d49f1ffbc13dc99722b3e2905 /Lib/test/test_unicode.py | |
parent | f13c5c8b9401a9dc19e95d8b420ee100ac022208 (diff) | |
download | cpython-b015fc86f7b1f35283804bfee788cce0a5495df7.zip cpython-b015fc86f7b1f35283804bfee788cce0a5495df7.tar.gz cpython-b015fc86f7b1f35283804bfee788cce0a5495df7.tar.bz2 |
bpo-36549: str.capitalize now titlecases the first character instead of uppercasing it (GH-12804)
Diffstat (limited to 'Lib/test/test_unicode.py')
-rw-r--r-- | Lib/test/test_unicode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 1131efd..36b72e4 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -811,7 +811,7 @@ class UnicodeTest(string_tests.CommonTest, self.assertEqual('h\u0130'.capitalize(), 'H\u0069\u0307') exp = '\u0399\u0308\u0300\u0069\u0307' self.assertEqual('\u1fd2\u0130'.capitalize(), exp) - self.assertEqual('finnish'.capitalize(), 'FInnish') + self.assertEqual('finnish'.capitalize(), 'Finnish') self.assertEqual('A\u0345\u03a3'.capitalize(), 'A\u0345\u03c2') def test_title(self): |