]> granicus.if.org Git - python/commit
Issue 10242. Switching unittest.TestCase.assertItemsEqual to use a collections.Counte...
authorMichael Foord <fuzzyman@voidspace.org.uk>
Sun, 19 Dec 2010 15:52:56 +0000 (15:52 +0000)
committerMichael Foord <fuzzyman@voidspace.org.uk>
Sun, 19 Dec 2010 15:52:56 +0000 (15:52 +0000)
commite6e0e26780350b2c05bf21218c69667d0eb0992d
tree0b7ce476dfc51fb98d3928ecfa16ff9e4a6c9fba
parenta17f076f614222cec6ff415c940717ecbbddd9fe
Issue 10242. Switching unittest.TestCase.assertItemsEqual to use a collections.Counter under the hood.
This fixes bugs when comparing collections of items like sets that can be sorted without raising an exception but where sorting has no meaning.
Lib/unittest/case.py
Lib/unittest/test/test_case.py
Misc/NEWS