mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Rename buffer -> bytearray.
This commit is contained in:
parent
905a904723
commit
254348e201
31 changed files with 290 additions and 290 deletions
|
@ -177,7 +177,7 @@ class UnicodeFunctionsTest(UnicodeDatabaseTest):
|
|||
def test_east_asian_width(self):
|
||||
eaw = self.db.east_asian_width
|
||||
self.assertRaises(TypeError, eaw, b'a')
|
||||
self.assertRaises(TypeError, eaw, buffer())
|
||||
self.assertRaises(TypeError, eaw, bytearray())
|
||||
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