Searched refs:excname (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/ |
D | _compat_pickle.py | 151 for excname in PYTHON2_EXCEPTIONS: 152 NAME_MAPPING[("exceptions", excname)] = ("builtins", excname) 161 for excname in MULTIPROCESSING_EXCEPTIONS: 162 NAME_MAPPING[("multiprocessing", excname)] = ("multiprocessing.context", excname) 243 for excname in PYTHON3_OSERROR_EXCEPTIONS: 244 REVERSE_NAME_MAPPING[('builtins', excname)] = ('exceptions', 'OSError') 250 for excname in PYTHON3_IMPORTERROR_EXCEPTIONS: 251 REVERSE_NAME_MAPPING[('builtins', excname)] = ('exceptions', 'ImportError')
|
/external/python/cpython3/Lib/test/ |
D | test_exception_hierarchy.py | 76 excname, _, errnames = line.partition(' ') 78 _map[getattr(errno, errname)] = getattr(builtins, excname)
|
D | test_exceptions.py | 32 def raise_catch(self, exc, excname): argument 42 self.assertEqual(exc.__name__, excname)
|
/external/python/cpython2/Lib/test/ |
D | test_exceptions.py | 31 def raise_catch(self, exc, excname): argument 41 self.assertEqual(exc.__name__, excname)
|