PyDocs

Nav

Development Tools

TestCase.assertListEqual

unittest

method of TestCase · Added in 3.1 (source)
  • TestCase.assertListEqual(first, second, msg=None)
A list-specific equality assertion.

Args:
    list1: The first list to compare.
    list2: The second list to compare.
    msg: Optional message to use on failure instead of a list of
            differences.
0 Examples
No examples for unittest/TestCase.assertListEqual.
See Also
No see-alsos for unittest/TestCase.assertListEqual
0 Notes
No notes for TestCase.assertListEqual