mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Update a comment.
This commit is contained in:
parent
97656a1c82
commit
acb117eb11
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@ import unittest
|
|||
class HashEqualityTestCase(unittest.TestCase):
|
||||
|
||||
def same_hash(self, *objlist):
|
||||
# hash each object given an raise TestFailed if
|
||||
# the hash values are not all the same
|
||||
# Hash each object given and fail if
|
||||
# the hash values are not all the same.
|
||||
hashed = map(hash, objlist)
|
||||
for h in hashed[1:]:
|
||||
if h != hashed[0]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue