[issue27060] Documentation of assertItemsEqual in unittest is VERY misleading in 2.7

Terry J. Reedy report at bugs.python.org
Fri May 20 18:31:54 EDT 2016


Terry J. Reedy added the comment:

Here is the specific test code so you can replace my lists with examples that you think malfunction.

import unittest as u
class Test(u.TestCase):
    def test_Count(self):
        self.assertItemsEqual([1,2,3], [1,2,4])
u.main()

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27060>
_______________________________________


More information about the Python-bugs-list mailing list