Lines Matching defs:exception
62 def exception(self):
71 def set_exception(self, exception):
73 self.assertIsNotNone(exception)
74 self.__exception = exception
178 self.assertRaises(asyncio.InvalidStateError, fut.exception)
249 self.assertRaises(asyncio.CancelledError, f.exception)
262 self.assertEqual(f.exception(), None)
270 self.assertRaises(asyncio.InvalidStateError, f.exception)
280 self.assertEqual(f.exception(), exc)
288 self.assertIsInstance(f.exception(), RuntimeError)
337 f'<{self.cls.__name__} finished exception=RuntimeError()>')
338 self.assertIs(f_exception.exception(), exc)
463 fut.exception()
571 regex = f'^{self.cls.__name__} exception was never retrieved\n'
770 self.assertEqual(f.exception(), exc)