Fail if the two objects are unequal as determined by the '==' operator.
(self, first, second, msg=None)
| 866 | raise self.failureException(msg) |
| 867 | |
| 868 | def assertEqual(self, first, second, msg=None): |
| 869 | """Fail if the two objects are unequal as determined by the '==' |
| 870 | operator. |
| 871 | """ |
| 872 | assertion_func = self._getAssertEqualityFunc(first, second) |
| 873 | assertion_func(first, second, msg=msg) |
| 874 | |
| 875 | def assertNotEqual(self, first, second, msg=None): |
| 876 | """Fail if the two objects are equal as determined by the '!=' |