mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix test_unicodedata.py.
This commit is contained in:
parent
eab198d229
commit
85d8e421a6
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue