The default assertEqual implementation, not type specific.
(self, first, second, msg=None)
| 916 | return self._baseAssertEqual |
| 917 | |
| 918 | def _baseAssertEqual(self, first, second, msg=None): |
| 919 | """The default assertEqual implementation, not type specific.""" |
| 920 | if not first == second: |
| 921 | standardMsg = '%s != %s' % _common_shorten_repr(first, second) |
| 922 | msg = self._formatMessage(msg, standardMsg) |
| 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 '==' |
no test coverage detected