PyDocs

Nav

Development Tools

TestCase.assertDictEqual

unittest

method of TestCase · Added in 3.1 (source)
  • TestCase.assertDictEqual(first, second, msg=None)
Test that two dictionaries are equal. If not, an error message is constructed that shows the differences in the dictionaries. This method will be used by default to compare dictionaries in calls to assertEqual().
0 Examples
No examples for unittest/TestCase.assertDictEqual.
See Also
No see-alsos for unittest/TestCase.assertDictEqual
0 Notes
No notes for TestCase.assertDictEqual