mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Rename buffer -> bytearray.
This commit is contained in:
parent
905a904723
commit
254348e201
31 changed files with 290 additions and 290 deletions
|
|
@ -99,7 +99,7 @@ class TestOneTrickPonyABCs(unittest.TestCase):
|
|||
|
||||
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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue