mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Fix docs and comment for r87454.
This commit is contained in:
parent
83961245b4
commit
6518f5e780
2 changed files with 2 additions and 2 deletions
|
@ -1021,7 +1021,7 @@ class TestCase(object):
|
|||
actual = collections.Counter(actual_seq)
|
||||
expected = collections.Counter(expected_seq)
|
||||
except TypeError:
|
||||
# Unsortable items (example: set(), complex(), ...)
|
||||
# Handle case with unhashable elements
|
||||
missing, unexpected = unorderable_list_difference(expected_seq, actual_seq)
|
||||
else:
|
||||
if actual == expected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue