/external/python/cpython2/Lib/unittest/ |
D | result.py | 154 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/ |
D | result.py | 175 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/ |
D | contextlib.py | 315 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/ |
D | compile-scripts.py | 49 def error_excepthook(exctype, value, traceback): argument 51 sys.__excepthook__(exctype, value, traceback)
|
/external/python/cpython3/Modules/ |
D | _posixsubprocess.c | 59 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/ |
D | test_codeccallbacks.py | 326 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)
|
D | test_tarfile.py | 267 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/ |
D | py31compat.py | 36 def __exit__(self, exctype, excvalue, exctrace): argument
|
/external/python/cpython3/Lib/test/ |
D | test_codeccallbacks.py | 326 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)
|
D | test_tarfile.py | 1368 for exctype in OSError, EOFError, RuntimeError: 1374 raise exctype 1377 with self.assertRaises(exctype):
|
/external/fonttools/Lib/fontTools/misc/ |
D | py23.py | 493 def __exit__(self, exctype, excinst, exctb): argument
|
/external/python/cpython2/Doc/library/ |
D | sys.rst | 161 traceback, the best solution is to use something like ``exctype, value =
|