summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/unittest')
-rw-r--r--Lib/unittest/case.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py
index 68e53a5..ad5fe61 100644
--- a/Lib/unittest/case.py
+++ b/Lib/unittest/case.py
@@ -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: