Update a comment.
This commit is contained in:
parent
97656a1c82
commit
acb117eb11
@ -9,8 +9,8 @@ import unittest
|
|||||||
class HashEqualityTestCase(unittest.TestCase):
|
class HashEqualityTestCase(unittest.TestCase):
|
||||||
|
|
||||||
def same_hash(self, *objlist):
|
def same_hash(self, *objlist):
|
||||||
# hash each object given an raise TestFailed if
|
# Hash each object given and fail if
|
||||||
# the hash values are not all the same
|
# the hash values are not all the same.
|
||||||
hashed = map(hash, objlist)
|
hashed = map(hash, objlist)
|
||||||
for h in hashed[1:]:
|
for h in hashed[1:]:
|
||||||
if h != hashed[0]:
|
if h != hashed[0]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user