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