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