devtools/cwwindmill.py
branchstable
changeset 6369 a151453dc564
parent 6341 ad5e08981153
child 6424 f443a2b8a5c7
equal deleted inserted replaced
6365:a15cc5e16178 6369:a151453dc564
   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