commit | 6518f5e78060f0d1cbc44b3034427fe0300fb062 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Fri Dec 24 00:52:54 2010 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Fri Dec 24 00:52:54 2010 +0000 |
tree | c5f343a05700f3fe055a9aac884aed992d26c412 | |
parent | 83961245b4db5d50a533e6f20d9472175d18d5e3 [diff] |
Fix docs and comment for r87454.
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 @@ 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: