summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2007-05-23 20:11:33 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2007-05-23 20:11:33 (GMT)
commit85d8e421a605c36893be46a7838adb1559d12ec1 (patch)
tree635bfd5b6253619f3513f448c9a65b2c7ae3da89 /Lib
parenteab198d2298a7186ae0a18382a12c864a4bb59a3 (diff)
downloadcpython-85d8e421a605c36893be46a7838adb1559d12ec1.zip
cpython-85d8e421a605c36893be46a7838adb1559d12ec1.tar.gz
cpython-85d8e421a605c36893be46a7838adb1559d12ec1.tar.bz2
Fix test_unicodedata.py.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_unicodedata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_unicodedata.py b/Lib/test/test_unicodedata.py
index 03ff058..95706b2 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')