Commit d938b30b authored by Stefan Behnel's avatar Stefan Behnel

Re-enable a unicode test in Py3.8.

parent cedeb1a6
......@@ -842,8 +842,10 @@ class UnicodeTest(CommonTest,
self.assertEqual('h\u0130'.capitalize(), 'H\u0069\u0307')
exp = '\u0399\u0308\u0300\u0069\u0307'
self.assertEqual('\u1fd2\u0130'.capitalize(), exp)
# Note: differs between Py<3.8 and later.
#self.assertEqual('finnish'.capitalize(), 'FInnish')
if sys.version_info >= (3, 8):
self.assertEqual('finnish'.capitalize(), 'Finnish')
else:
self.assertEqual('finnish'.capitalize(), 'FInnish')
self.assertEqual('A\u0345\u03a3'.capitalize(), 'A\u0345\u03c2')
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