Fail if the two objects are unequal as determined by the '==' operator.
(self, first, second, msg=None)
| 918 | raise self.failureException(msg) |
| 919 | |
| 920 | def assertEqual(self, first, second, msg=None): |
| 921 | """Fail if the two objects are unequal as determined by the '==' |
| 922 | operator. |
| 923 | """ |
| 924 | assertion_func = self._getAssertEqualityFunc(first, second) |
| 925 | assertion_func(first, second, msg=msg) |
| 926 | |
| 927 | def assertNotEqual(self, first, second, msg=None): |
| 928 | """Fail if the two objects are equal as determined by the '!=' |