Home | History | Annotate | Download | only in python2.7

Lines Matching full:exc_info

237 def _exception_traceback(exc_info):
240 exc_info tuple (as returned by sys.exc_info()).
244 exc_type, exc_val, exc_tb = exc_info
1204 def report_unexpected_exception(self, out, test, example, exc_info):
1209 'Exception raised:\n' + _indent(_exception_traceback(exc_info)))
1295 exception = sys.exc_info()
1310 exc_info = sys.exc_info()
1311 exc_msg = traceback.format_exception_only(*exc_info[:2])[-1]
1313 got += _exception_traceback(exc_info)
1343 exc_info)
1672 - exc_info: the exception info
1674 def __init__(self, test, example, exc_info):
1677 self.exc_info = exc_info
1702 >>> exc_info = failure.exc_info
1703 >>> raise exc_info[0], exc_info[1], exc_info[2]
1779 def report_unexpected_exception(self, out, test, example, exc_info):
1780 raise UnexpectedException(test, example, exc_info)
2244 >>> exc_info = failure.exc_info
2245 >>> raise exc_info[0], exc_info[1], exc_info[2]
2647 print sys.exc_info()[1]
2648 pdb.post_mortem(sys.exc_info()[2])