PyDocs

Nav

Development Tools

TestCase.assertEqual

  • TestCase.assertEqual(first, second, msg=None)
Fail if the two objects are unequal as determined by the '=='
operator.
Changed in 3.1, 3.2
  • 3.1: Added the automatic calling of type-specific equality function.
  • 3.2: assertMultiLineEqual() added as the default type equality function for comparing strings.
0 Examples
No examples for unittest/TestCase.assertEqual.
See Also
No see-alsos for unittest/TestCase.assertEqual
0 Notes
No notes for TestCase.assertEqual