[Python-3000-checkins] r55535 - python/branches/py3k-struni/Lib/test/test_unicodedata.py

walter.doerwald python-3000-checkins at python.org
Wed May 23 22:11:38 CEST 2007


Author: walter.doerwald
Date: Wed May 23 22:11:33 2007
New Revision: 55535

Modified:
   python/branches/py3k-struni/Lib/test/test_unicodedata.py
Log:
Fix test_unicodedata.py.


Modified: python/branches/py3k-struni/Lib/test/test_unicodedata.py
==============================================================================
--- python/branches/py3k-struni/Lib/test/test_unicodedata.py	(original)
+++ python/branches/py3k-struni/Lib/test/test_unicodedata.py	Wed May 23 22:11:33 2007
@@ -176,7 +176,7 @@
 
     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')


More information about the Python-3000-checkins mailing list