HomeSort by relevance Sort by last modified time
    Searched refs:raises (Results 1 - 25 of 37) sorted by null

1 2

  /external/clang/bindings/python/tests/cindex/
test_token_kind.py 4 from nose.tools import raises namespace
14 @raises(ValueError)
20 @raises(ValueError)
22 """Ensure trying to fetch an unknown value raises."""
test_type.py 6 from nose.tools import raises namespace
182 @raises(TypeError)
194 @raises(IndexError)
196 """Ensure that negative indexes on argument_types Raises an IndexError."""
203 @raises(IndexError)
212 @raises(Exception)
214 """Ensure that obtaining argument_types on a Type without them raises."""
271 @raises(Exception)
273 """Ensure Type.element_type raises if type doesn't have elements."""
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_pep292.py 81 raises = self.assertRaises
83 raises(ValueError, s.substitute, dict(who='tim'))
85 raises(ValueError, s.substitute, dict(who='tim'))
87 raises(ValueError, s.substitute, dict(who='tim'))
149 raises = self.assertRaises
162 raises(TypeError, s.substitute, d, {})
163 raises(TypeError, s.safe_substitute, d, {})
167 raises = self.assertRaises
172 raises(KeyError, s.substitute)
176 raises(ValueError, s.substitute, dict(gift='bud', who='you')
    [all...]
test_gettext.py 290 raises = self.assertRaises
292 raises(ValueError, gettext.c2py, "os.chmod('/etc/passwd',0777)")
test_sys_settrace.py 95 def raises(): function
100 raises()
392 """A trace function that raises an exception in response to a
400 """The function to trace; raises an exception if that's the case
test_argparse.py 237 raises = tester.assertRaises
238 raises(ArgumentParserError, parser.parse_args, args)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_pep292.py 81 raises = self.assertRaises
83 raises(ValueError, s.substitute, dict(who='tim'))
85 raises(ValueError, s.substitute, dict(who='tim'))
87 raises(ValueError, s.substitute, dict(who='tim'))
149 raises = self.assertRaises
162 raises(TypeError, s.substitute, d, {})
163 raises(TypeError, s.safe_substitute, d, {})
167 raises = self.assertRaises
172 raises(KeyError, s.substitute)
176 raises(ValueError, s.substitute, dict(gift='bud', who='you')
    [all...]
test_gettext.py 290 raises = self.assertRaises
292 raises(ValueError, gettext.c2py, "os.chmod('/etc/passwd',0777)")
test_sys_settrace.py 95 def raises(): function
100 raises()
392 """A trace function that raises an exception in response to a
400 """The function to trace; raises an exception if that's the case
test_argparse.py 237 raises = tester.assertRaises
238 raises(ArgumentParserError, parser.parse_args, args)
    [all...]
  /external/llvm/bindings/ocaml/bitreader/
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/llvm/bindings/ocaml/irreader/
llvm_irreader.mli 19 raises [Error msg] otherwise, where [msg] is a description of the error
  /external/chromium_org/tools/grit/grit/
grd_reader_unittest.py 276 for raises, data in part_failures:
278 self.assertRaises(raises, grd_reader.Parse, data, '.')
284 for raises, data in gritpart_failures:
287 self.assertRaises(raises, grd_reader.Parse, top_grd, temp_dir.GetPath())
  /external/chromium_org/third_party/WebKit/Tools/qunit/test/
test.js 223 test("raises",function() {
232 raises(
238 raises(
242 'raises with just a message, no expected'
245 raises(
253 raises(
261 raises(
  /external/chromium_org/chrome/common/extensions/docs/server2/
file_system.py 95 For any other failure, raises a FileSystemError.
143 If the path cannot be found, raises a FileNotFoundError.
144 For any other failure, raises a FileSystemError.
190 If |root| cannot be found, raises a FileNotFoundError.
191 For any other failure, raises a FileSystemError.
  /external/chromium_org/third_party/mesa/src/docs/OLD/
MESA_trace.spec 42 Application-side implementation of these features raises namespace
  /external/mesa3d/docs/OLD/
MESA_trace.spec 42 Application-side implementation of these features raises namespace
  /external/chromium_org/third_party/cython/src/Cython/Includes/cpython/
tuple.pxd 70 # raises MemoryError or SystemError.
bytes.pxd 85 # PyBytes_AsString() returns NULL and raises TypeError.
108 # PyBytes_AsStringAndSize() returns -1 and raises TypeError.
string.pxd 85 # PyString_AsString() returns NULL and raises TypeError.
108 # PyString_AsStringAndSize() returns -1 and raises TypeError.
sequence.pxd 111 # sequence, raises TypeError with m as the message text.
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/
__init__.py 164 of obj or raise TypeError. The default simply raises TypeError.
228 of obj or raise TypeError. The default simply raises TypeError.
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/
__init__.py 164 of obj or raise TypeError. The default simply raises TypeError.
228 of obj or raise TypeError. The default simply raises TypeError.
  /external/chromium_org/third_party/simplejson/
__init__.py 187 of obj or raise TypeError. The default simply raises TypeError.
284 of obj or raise TypeError. The default simply raises TypeError.
  /external/llvm/bindings/ocaml/target/
llvm_target.mli 159 (** [by_triple triple] returns a target for a triple [triple], or raises

Completed in 626 milliseconds

1 2