mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
Fix typo.
This commit is contained in:
parent
5f5125997b
commit
7bd860655f
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ class UnicodeTest(
|
|||
self.checkequalnofix(True, u'\ud55c\uae00', 'iswide')
|
||||
self.checkequalnofix(False, u'\ud55c\u2606\uae00', 'iswide')
|
||||
|
||||
def test_wide(self):
|
||||
def test_width(self):
|
||||
self.assertEqual(u''.width(), 0)
|
||||
self.assertEqual(u'abcd'.width(), 4)
|
||||
self.assertEqual(u'\u0187\u01c9'.width(), 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue