summaryrefslogtreecommitdiffstats
path: root/Lib/test/string_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/string_tests.py')
-rw-r--r--Lib/test/string_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py
index 116145e..e9285a6 100644
--- a/Lib/test/string_tests.py
+++ b/Lib/test/string_tests.py
@@ -532,8 +532,8 @@ class BaseTest(unittest.TestCase):
# XXX Commented out. Is there any reason to support buffer objects
# as arguments for str.replace()? GvR
-## ba = buffer('a')
-## bb = buffer('b')
+## ba = bytearray('a')
+## bb = bytearray('b')
## EQ("bbc", "abc", "replace", ba, bb)
## EQ("aac", "abc", "replace", bb, ba)