]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix test_unicodedata.py.
authorWalter Dörwald <walter@livinglogic.de>
Wed, 23 May 2007 20:11:33 +0000 (20:11 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Wed, 23 May 2007 20:11:33 +0000 (20:11 +0000)
Lib/test/test_unicodedata.py

index 03ff05872690ba24c0f2702fbcbfa283c2e9e312..95706b2ffa9b139d9573b841c45cde0f4f8bd896 100644 (file)
@@ -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')