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

1 2 3 4

  /external/clang/bindings/python/tests/cindex/
test_token_kind.py 4 from nose.tools import raises
14 @raises(ValueError)
20 @raises(ValueError)
22 """Ensure trying to fetch an unknown value raises."""
test_type.py 6 from nose.tools import raises
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."""
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/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)")
  /prebuilts/gdb/darwin-x86/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)")
  /prebuilts/gdb/linux-x86/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)")
  /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)")
  /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)")
  /external/autotest/client/site_tests/desktopui_SonicExtension/
config_json_iterator.py 73 @raises ConfigJsonIteratorError if config does not exist.
86 @raises ConfigJsonIteratorError: if config file is not found or invalid.
105 @raises ConfigJsonIteratorError: if dependency config list
133 @raises ConfigJsonIteratorError: if no dictionary given.
  /external/llvm/bindings/ocaml/bitreader/
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/
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/python/cpython2/Lib/test/
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')
    [all...]
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)
  /external/autotest/client/cros/
ec.py 110 @raises error.TestError if regexp fails to match.
139 @raises error.TestError if fails to read sensor.
251 @raises error.TestError if ...
373 @raises error.TestError if ...
  /external/mesa3d/docs/specs/OLD/
MESA_trace.spec 42 Application-side implementation of these features raises namespace
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue13160.go 17 // Allocate more Ps than processors. This raises
  /prebuilts/go/linux-x86/test/fixedbugs/
issue13160.go 17 // Allocate more Ps than processors. This raises
  /external/devlib/devlib/module/
cpufreq.py 85 :raises: TargetError if governor is not supported by the CPU, or if,
143 :raises: TargetError if governor specified is not a valid governor name, or if
197 :raises: TargetError if for some reason the frequency could not be read.
217 :raises: TargetError if the frequency is not supported by the CPU, or if, for
219 :raises: ValueError if ``frequency`` is not an integer.
244 :raises: TargetError if for some reason the frequency could not be read.
266 :raises: TargetError if the frequency is not supported by the CPU, or if, for
268 :raises: ValueError if ``frequency`` is not an integer.
296 :raises: TargetError if for some reason the frequency could not be read.
315 :raises: TargetError if the frequency is not supported by the CPU, or if, fo
    [all...]
  /external/autotest/frontend/afe/
control_file.py 168 @raises ValidationError if any of the parameters do not make sense.
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/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.

Completed in 587 milliseconds

1 2 3 4