From: Walter Dörwald Date: Wed, 23 May 2007 20:11:33 +0000 (+0000) Subject: Fix test_unicodedata.py. X-Git-Tag: v3.0a1~890 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=85d8e421a605c36893be46a7838adb1559d12ec1;p=thirdparty%2FPython%2Fcpython.git Fix test_unicodedata.py. --- diff --git a/Lib/test/test_unicodedata.py b/Lib/test/test_unicodedata.py index 03ff05872690..95706b2ffa9b 100644 --- a/Lib/test/test_unicodedata.py +++ b/Lib/test/test_unicodedata.py @@ -176,7 +176,7 @@ class UnicodeFunctionsTest(UnicodeDatabaseTest): def test_east_asian_width(self): eaw = self.db.east_asian_width - self.assertRaises(TypeError, eaw, 'a') + self.assertRaises(TypeError, eaw, str8('a')) self.assertRaises(TypeError, eaw, '') self.assertRaises(TypeError, eaw, 'ra') self.assertEqual(eaw('\x1e'), 'N')