mirror of https://github.com/python/cpython.git
Issue #20162: test_hash_distribution() uses subTest() to mention the prefix in
the error message.
This commit is contained in:
parent
1500d49c22
commit
cc26310e2e
|
@ -330,6 +330,7 @@ def test_hash_distribution(self):
|
|||
base = "abcdefghabcdefg"
|
||||
for i in range(1, len(base)):
|
||||
prefix = base[:i]
|
||||
with self.subTest(prefix=prefix):
|
||||
s15 = set()
|
||||
s255 = set()
|
||||
for c in range(256):
|
||||
|
|
Loading…
Reference in New Issue