mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
Rename buffer -> bytearray.
This commit is contained in:
parent
905a904723
commit
254348e201
31 changed files with 290 additions and 290 deletions
|
@ -253,9 +253,9 @@ class ExceptionTests(unittest.TestCase):
|
|||
'ordinal not in range'),
|
||||
'encoding' : 'ascii', 'object' : 'a',
|
||||
'start' : 0, 'reason' : 'ordinal not in range'}),
|
||||
(UnicodeDecodeError, ('ascii', buffer(b'\xff'), 0, 1,
|
||||
(UnicodeDecodeError, ('ascii', bytearray(b'\xff'), 0, 1,
|
||||
'ordinal not in range'),
|
||||
{'args' : ('ascii', buffer(b'\xff'), 0, 1,
|
||||
{'args' : ('ascii', bytearray(b'\xff'), 0, 1,
|
||||
'ordinal not in range'),
|
||||
'encoding' : 'ascii', 'object' : b'\xff',
|
||||
'start' : 0, 'reason' : 'ordinal not in range'}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue