cpython/Lib/unittest
Raymond Hettinger 93e233d6e5 Improve diff for assertCountEqual() to actually show the differing counts.
New output looks like this:

Traceback (most recent call last):
  File "test.py", line 5, in test_ce
    self.assertCountEqual('abracadabra xx', 'simsalabim xx')
AssertionError: Element counts were not equal:
Expected 5, got 2:  'a'
Expected 2, got 1:  'b'
Expected 0, got 2:  'i'
Expected 0, got 2:  'm'
Expected 0, got 1:  'l'
Expected 0, got 2:  's'
Expected 1, got 0:  'c'
Expected 1, got 0:  'd'
Expected 2, got 0:  'r'
2010-12-24 10:02:22 +00:00
..
test Improve diff for assertCountEqual() to actually show the differing counts. 2010-12-24 10:02:22 +00:00
__init__.py Merged revisions 80476 via svnmerge from 2010-04-25 19:53:49 +00:00
__main__.py Merged revisions 81055 via svnmerge from 2010-05-10 20:23:58 +00:00
case.py Improve diff for assertCountEqual() to actually show the differing counts. 2010-12-24 10:02:22 +00:00
loader.py Improve unittest.TestLoader.discover docstring 2010-11-20 17:22:21 +00:00
main.py Fix minor issue in implementation of issue 10470. 2010-12-19 03:59:10 +00:00
result.py Fix issue 9926. TestSuite subclasses that override __call__ are called correctly. 2010-11-01 21:09:03 +00:00
runner.py #10535: Enable silenced warnings in unittest by default 2010-12-01 00:56:10 +00:00
signals.py Merged revisions 80476 via svnmerge from 2010-04-25 19:53:49 +00:00
suite.py Improvement to fix for issue 9926 to allow TestResult to be reused. 2010-12-19 04:07:28 +00:00
util.py Improve diff for assertCountEqual() to actually show the differing counts. 2010-12-24 10:02:22 +00:00