equal
deleted
inserted
replaced
108 self._testMethodDoc = getattr(test, "__doc__", None) |
108 self._testMethodDoc = getattr(test, "__doc__", None) |
109 self._testMethodName = test.__name__ |
109 self._testMethodName = test.__name__ |
110 # try to display a better message in case of failure |
110 # try to display a better message in case of failure |
111 if hasattr(test, "tb"): |
111 if hasattr(test, "tb"): |
112 msg = '\n'.join(test.tb) |
112 msg = '\n'.join(test.tb) |
113 self.assertEquals(test.result, True, msg=msg) |
113 self.assertEqual(test.result, True, msg=msg) |
114 |
114 |