Home
last modified time | relevance | path

Searched refs:exctype (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython2/Lib/unittest/
Dresult.py154 exctype, value, tb = err
159 if exctype is test.failureException:
162 msgLines = traceback.format_exception(exctype, value, tb, length)
164 msgLines = traceback.format_exception(exctype, value, tb)
/external/python/cpython3/Lib/unittest/
Dresult.py175 exctype, value, tb = err
180 if exctype is test.failureException:
186 exctype, value, tb, limit=length, capture_locals=self.tb_locals)
/external/python/cpython3/Lib/
Dcontextlib.py315 def __exit__(self, exctype, excinst, exctb): argument
358 def __exit__(self, exctype, excinst, exctb): argument
368 return exctype is not None and issubclass(exctype, self._exceptions)
/external/v8/src/inspector/build/
Dcompile-scripts.py49 def error_excepthook(exctype, value, traceback): argument
51 sys.__excepthook__(exctype, value, traceback)
/external/python/cpython3/Modules/
D_posixsubprocess.c59 PyObject *exctype, *val, *tb; in _enable_gc() local
62 PyErr_Fetch(&exctype, &val, &tb); in _enable_gc()
64 if (exctype != NULL) { in _enable_gc()
65 PyErr_Restore(exctype, val, tb); in _enable_gc()
/external/python/cpython2/Lib/test/
Dtest_codeccallbacks.py326 def check_exceptionobjectargs(self, exctype, args, msg): argument
329 self.assertRaises(TypeError, exctype, *args[:-1])
331 self.assertRaises(TypeError, exctype, *(args + ["too much"]))
345 self.assertRaises(TypeError, exctype, *callargs)
348 exc = exctype(*args)
Dtest_tarfile.py267 exctype = OSError if '|' in self.mode else IOError
268 with self.assertRaisesRegexp(exctype, "xxx") as ex:
1140 for exctype in IOError, EOFError, RuntimeError:
1146 raise exctype
1149 with self.assertRaises(exctype):
/external/python/setuptools/setuptools/
Dpy31compat.py36 def __exit__(self, exctype, excvalue, exctrace): argument
/external/python/cpython3/Lib/test/
Dtest_codeccallbacks.py326 def check_exceptionobjectargs(self, exctype, args, msg): argument
329 self.assertRaises(TypeError, exctype, *args[:-1])
331 self.assertRaises(TypeError, exctype, *(args + ["too much"]))
345 self.assertRaises(TypeError, exctype, *callargs)
348 exc = exctype(*args)
Dtest_tarfile.py1368 for exctype in OSError, EOFError, RuntimeError:
1374 raise exctype
1377 with self.assertRaises(exctype):
/external/fonttools/Lib/fontTools/misc/
Dpy23.py493 def __exit__(self, exctype, excinst, exctb): argument
/external/python/cpython2/Doc/library/
Dsys.rst161 traceback, the best solution is to use something like ``exctype, value =