summaryrefslogtreecommitdiff
path: root/Lib/test/test_exceptions.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-11-21 19:29:53 +0000
committerGuido van Rossum <guido@python.org>2007-11-21 19:29:53 +0000
commit745dcea6f3e96568f87ad63b56bada3a07cc5ab5 (patch)
tree01b73c24037d20edb59ace665843bc74bb68b19b /Lib/test/test_exceptions.py
parent7c8a0fb40dc11a0ac328c5a73da5884b4b68a06b (diff)
downloadcpython-745dcea6f3e96568f87ad63b56bada3a07cc5ab5.tar.gz
Rename buffer -> bytearray.
Diffstat (limited to 'Lib/test/test_exceptions.py')
-rw-r--r--Lib/test/test_exceptions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py
index c405ac98f6..d1f9b1a9db 100644
--- a/Lib/test/test_exceptions.py
+++ b/Lib/test/test_exceptions.py
@@ -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'}),