Commit 09bb61c4 authored by Stefan Behnel's avatar Stefan Behnel

Merge branch '0.29.x'

parents 8754720f bfe60761
...@@ -842,10 +842,10 @@ class UnicodeTest(CommonTest, ...@@ -842,10 +842,10 @@ class UnicodeTest(CommonTest,
self.assertEqual('h\u0130'.capitalize(), 'H\u0069\u0307') self.assertEqual('h\u0130'.capitalize(), 'H\u0069\u0307')
exp = '\u0399\u0308\u0300\u0069\u0307' exp = '\u0399\u0308\u0300\u0069\u0307'
self.assertEqual('\u1fd2\u0130'.capitalize(), exp) self.assertEqual('\u1fd2\u0130'.capitalize(), exp)
if sys.version_info >= (3, 8): if sys.version_info < (3, 8):
self.assertEqual('finnish'.capitalize(), 'Finnish')
else:
self.assertEqual('finnish'.capitalize(), 'FInnish') self.assertEqual('finnish'.capitalize(), 'FInnish')
else:
self.assertEqual('finnish'.capitalize(), 'Finnish')
self.assertEqual('A\u0345\u03a3'.capitalize(), 'A\u0345\u03c2') self.assertEqual('A\u0345\u03a3'.capitalize(), 'A\u0345\u03c2')
def test_title(self): def test_title(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment