/external/clang/bindings/python/tests/cindex/ |
D | test_token_kind.py | 4 from nose.tools import raises 14 @raises(ValueError) 20 @raises(ValueError)
|
D | test_type.py | 6 from nose.tools import raises 182 @raises(TypeError) 194 @raises(IndexError) 203 @raises(IndexError) 212 @raises(Exception) 271 @raises(Exception)
|
/external/python/cpython2/Lib/test/ |
D | test_string.py | 298 raises = self.assertRaises 300 raises(ValueError, s.substitute, dict(who='tim')) 302 raises(ValueError, s.substitute, dict(who='tim')) 304 raises(ValueError, s.substitute, dict(who='tim')) 403 raises = self.assertRaises 416 raises(TypeError, s.substitute, d, {}) 417 raises(TypeError, s.safe_substitute, d, {}) 424 raises = self.assertRaises 429 raises(KeyError, s.substitute) 433 raises(ValueError, s.substitute, dict(gift='bud', who='you'))
|
D | test_gettext.py | 322 raises = self.assertRaises 324 raises(ValueError, gettext.c2py, "os.chmod('/etc/passwd',0777)") 326 raises(ValueError, gettext.c2py, '"(eval(foo) && ""') 327 raises(ValueError, gettext.c2py, 'f"{os.system(\'sh\')}"') 329 raises(ValueError, gettext.c2py, 'n+'*10000 + 'n') 332 raises(ValueError, gettext.c2py, '('*100 + 'n' + ')'*100) 334 raises(ValueError, gettext.c2py, '('*10000 + 'n' + ')'*10000)
|
D | test_sys_settrace.py | 95 def raises(): function 100 raises()
|
D | test_argparse.py | 240 raises = tester.assertRaises 241 raises(ArgumentParserError, parser.parse_args, args) 2229 raises = self.assertRaises 2230 raises(TypeError, parser.add_mutually_exclusive_group, title='foo') 2236 raises = self.assertRaises 2237 raises(ValueError, add_argument, '--foo', required=True) 2238 raises(ValueError, add_argument, 'bar') 2239 raises(ValueError, add_argument, 'bar', nargs='+') 2240 raises(ValueError, add_argument, 'bar', nargs=1) 2241 raises(ValueError, add_argument, 'bar', nargs=argparse.PARSER)
|
/external/llvm/bindings/ocaml/bitreader/ |
D | llvm_bitreader.mli | 19 raises [Error msg] otherwise, where [msg] is a description of the error 25 raises [Error msg] otherwise, where [msg] is a description of the error
|
/external/swiftshader/third_party/LLVM/bindings/ocaml/bitreader/ |
D | llvm_bitreader.mli | 19 raises [Error msg] otherwise, where [msg] is a description of the error 26 raises [Error msg] otherwise, where [msg] is a description of the error
|
/external/libnl/python/doc/ |
D | core.rst | 37 :raises: KeyError if attribute is unknown 38 :raises: ImmutableError if attribute is not mutable 76 :raises: ValueError if no filter is specified 156 # raises:
|
D | route_addr.rst | 34 :raises: KeyError if address is not found.
|
/external/llvm/bindings/ocaml/irreader/ |
D | llvm_irreader.mli | 19 raises [Error msg] otherwise, where [msg] is a description of the error
|
/external/python/cpython2/Doc/c-api/ |
D | iter.rst | 19 slot with logic that either invokes a :meth:`next` method or raises
|
D | iterator.rst | 34 iteration ends when the sequence raises :exc:`IndexError` for the subscripting
|
/external/mesa3d/docs/specs/OLD/ |
D | MESA_trace.spec | 42 Application-side implementation of these features raises namespace
|
/external/python/cpython2/Doc/library/ |
D | contextlib.rst | 80 :meth:`__exit__` method of one of the nested managers raises an exception, any 95 raises an exception that is caught and suppressed by the :meth:`__exit__` method
|
D | copy_reg.rst | 27 hence not valid as a constructor), raises :exc:`TypeError`.
|
D | code.rst | 58 command is complete and valid; ``None`` if the command is incomplete; raises 60 raises :exc:`OverflowError` or :exc:`ValueError` if the command contains an
|
D | queue.rst | 117 *timeout* is a positive number, it blocks at most *timeout* seconds and raises 137 raises the :exc:`Empty` exception if no item was available within that time.
|
D | bsddb.rst | 142 method raises :exc:`bsddb.error` if the database is empty. 162 opened with :func:`hashopen`). This method raises :exc:`bsddb.error` if the
|
D | asynchat.rst | 82 default method, which must be overridden, raises a 96 raises a :exc:`NotImplementedError` exception. The buffered input data
|
D | datetime.rst | 267 Division by 0 raises :exc:`ZeroDivisionError`. 461 default scheme of comparing object addresses, date comparison normally raises 864 object addresses, datetime comparison normally raises :exc:`TypeError` if the 944 ``self.tzinfo.utcoffset(self)``, and raises an exception if the latter doesn't 952 ``self.tzinfo.dst(self)``, and raises an exception if the latter doesn't return 960 ``self.tzinfo.tzname(self)``, raises an exception if the latter doesn't return 1304 ``self.tzinfo.utcoffset(None)``, and raises an exception if the latter doesn't 1312 ``self.tzinfo.dst(None)``, and raises an exception if the latter doesn't return 1320 ``self.tzinfo.tzname(None)``, or raises an exception if the latter doesn't 1398 The default implementation of :meth:`utcoffset` raises [all …]
|
D | restricted.rst | 33 the built-in :func:`open` function so that it raises an exception whenever the
|
/external/autotest/docs/ |
D | coding-style.md | 153 @raises exception that could be raised if a certain condition occurs. 168 | @raises | Same as @raise. …
|
/external/autotest/server/cros/dynamic_suite/ |
D | suite_unittest.py | 279 raises=False, suite_deps=[], suite=None, argument 332 if raises: 430 self.expect_job_scheduling(recorder, raises=True)
|
/external/python/cpython2/Lib/email/test/ |
D | test_email_renamed.py | 1102 raises = self.assertRaises 1108 raises(IndexError, m.get_payload, 2) 2957 raises = self.assertRaises 2960 raises(UnicodeError, Header, x) 2962 raises(UnicodeError, h.append, x) 2987 raises = self.assertRaises 2989 raises(errors.HeaderParseError, decode_header, s)
|