Searched refs:exc_name (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_baseexception.py | 47 exc_name = exc_line[depth+2:] # Slice past space 48 if '(' in exc_name: 49 paren_index = exc_name.index('(') 50 platform_name = exc_name[paren_index+1:-1] 51 exc_name = exc_name[:paren_index-1] # Slice off space 53 exc_set.discard(exc_name) 55 if '[' in exc_name: 56 left_bracket = exc_name.index('[') 57 exc_name = exc_name[:left_bracket-1] # cover space 59 exc = getattr(builtins, exc_name) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_pep352.py | 61 exc_name = exc_line[depth+2:] # Slice past space 62 if '(' in exc_name: 63 paren_index = exc_name.index('(') 64 platform_name = exc_name[paren_index+1:-1] 65 exc_name = exc_name[:paren_index-1] # Slice off space 67 exc_set.discard(exc_name) 69 if '[' in exc_name: 70 left_bracket = exc_name.index('[') 71 exc_name = exc_name[:left_bracket-1] # cover space 73 exc = getattr(__builtin__, exc_name) [all …]
|
D | pickletester.py | 529 exc_name = errors.__name__ 531 exc_name = str(errors) 532 raise self.failureException('%s not raised' % exc_name)
|
/external/python/asn1crypto/tests/ |
D | _unittest_compat.py | 129 exc_name = self.expected.__name__ 131 exc_name = str(self.expected) 133 "{0} not raised".format(exc_name))
|
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
D | text_format_test.py | 459 exc_name = e_class.__name__ 461 exc_name = str(e_class) 468 raise self.failureException(msg % (exc_name, 473 raise self.failureException('%s not raised' % exc_name)
|
/external/python/cpython3/Lib/unittest/ |
D | case.py | 219 exc_name = self.expected.__name__ 221 exc_name = str(self.expected) 223 self._raiseFailure("{} not raised by {}".format(exc_name, 226 self._raiseFailure("{} not raised".format(exc_name)) 269 exc_name = self.expected.__name__ 271 exc_name = str(self.expected) 292 self._raiseFailure("{} not triggered by {}".format(exc_name, 295 self._raiseFailure("{} not triggered".format(exc_name))
|
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/ |
D | MachException.cpp | 167 const char *exc_name = MachException::Name(exc_type); in GetStopInfo() local 170 if (exc_name) in GetStopInfo() 172 snprintf(desc, DNB_THREAD_STOP_INFO_MAX_DESC_LENGTH, "%s", exc_name); in GetStopInfo()
|
/external/python/cpython2/Lib/unittest/ |
D | case.py | 112 exc_name = self.expected.__name__ 114 exc_name = str(self.expected) 116 "{0} not raised".format(exc_name))
|
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/ |
D | case.py | 143 exc_name = self.expected.__name__ 145 exc_name = str(self.expected) 147 "%s not raised" % (exc_name,))
|
/external/python/ipaddress/ |
D | test_ipaddress.py | 2148 exc_name = self.expected.__name__ 2150 exc_name = str(self.expected) 2153 exc_name, self.obj_name)) 2155 self._raiseFailure("{} not raised".format(exc_name))
|