Rename buffer -> bytearray.
diff --git a/Lib/test/test_collections.py b/Lib/test/test_collections.py
index 0243134..3ccc06c 100644
--- a/Lib/test/test_collections.py
+++ b/Lib/test/test_collections.py
@@ -99,7 +99,7 @@
 
     def test_Hashable(self):
         # Check some non-hashables
-        non_samples = [buffer(), list(), set(), dict()]
+        non_samples = [bytearray(), list(), set(), dict()]
         for x in non_samples:
             self.failIf(isinstance(x, Hashable), repr(x))
             self.failIf(issubclass(type(x), Hashable), repr(type(x)))