From 254348e201647ad9d264de2cc0fde031e8214719 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 21 Nov 2007 19:29:53 +0000 Subject: Rename buffer -> bytearray. --- Lib/test/test_marshal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_marshal.py') diff --git a/Lib/test/test_marshal.py b/Lib/test/test_marshal.py index fb70cede0e..d14d50dca9 100644 --- a/Lib/test/test_marshal.py +++ b/Lib/test/test_marshal.py @@ -39,7 +39,7 @@ class IntTestCase(unittest.TestCase, HelperMixin): # we're running the test on a 32-bit box, of course. def to_little_endian_string(value, nbytes): - b = buffer() + b = bytearray() for i in range(nbytes): b.append(value & 0xff) value >>= 8 -- cgit v1.2.1