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

1 2 3

  /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/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)")
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
  /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/llvm/bindings/ocaml/irreader/
llvm_irreader.mli 19 raises [Error msg] otherwise, where [msg] is a description of the error
  /external/chromium-trace/catapult/third_party/six/
test_six.py 83 py.test.raises(
318 py.test.raises(AttributeError, six.remove_move, "eggs")
334 py.test.raises(AttributeError, six.get_method_self, 42)
343 py.test.raises(AttributeError, six.get_method_function, hasattr)
361 py.test.raises(AttributeError, six.get_function_code, hasattr)
401 py.test.raises(StopIteration, six.advance_iterator, it)
437 py.test.raises(StopIteration, six.next, it)
438 py.test.raises(StopIteration, six.next, it)
486 py.test.raises(TypeError, u)
534 py.test.raises(Exception, six.int2byte, 256
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/six/
test_six.py 63 py.test.raises(
298 py.test.raises(AttributeError, six.remove_move, "eggs")
314 py.test.raises(AttributeError, six.get_method_self, 42)
323 py.test.raises(AttributeError, six.get_method_function, hasattr)
341 py.test.raises(AttributeError, six.get_function_code, hasattr)
381 py.test.raises(StopIteration, six.advance_iterator, it)
417 py.test.raises(StopIteration, six.next, it)
418 py.test.raises(StopIteration, six.next, it)
500 py.test.raises((OverflowError, ValueError), six.int2byte, 256)
506 py.test.raises(IndexError, six.byte2int, six.b("")
    [all...]
  /external/v8/test/mjsunit/es6/
generators-states.js 40 // Next on an executing iterator raises a TypeError.
45 // Throw on an executing iterator raises a TypeError.
  /external/autotest/client/common_lib/hosts/
base_classes.py 106 @raises AutotestHostRunError: the exit code of the command execution
265 """Raises an error if path does not have at least gb GB free.
273 @raises AutoservDiskFullHostError if path has less than gb GB free.
289 """Raises an error if a file system is short on i-nodes.
295 @raises AutoservNoFreeInodesError If the minimum required
  /external/autotest/server/hosts/
servo_host.py 289 @raises AutoservRunError if the command failed.
290 @raises AutoservSSHTimeout SSH connection has timed out. Only applies
337 @raises ServoHostVerifyFailure if /var/lib/servod/config does not exist.
364 @raises ServoHostVerifyFailure if servod process does not exist.
408 @raises dev_server.DevServerException: If all the devservers are down.
409 @raises site_utils.ParseBuildNameException: If the devserver returns
411 @raises autoupdater.ChromiumOSError: If something goes wrong in the
413 @raises AutoservRunError: If the update_engine_client isn't present on
510 @raises ServoHostVerifyFailure if servo host does not pass the checks.
552 @raises ServoHostRepairFailure if it fails to power cycle th
    [all...]
  /external/mesa3d/docs/OLD/
MESA_trace.spec 42 Application-side implementation of these features raises namespace
  /external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
transform.py 170 :raises:
  /external/autotest/server/site_tests/infra_ServoDiagnosis/
infra_ServoDiagnosis.py 67 the test raises an exception, return the exception.
100 the underlying call to servo raises an exception.
  /external/autotest/frontend/afe/
control_file.py 327 @raises ValidationError if any of the parameters do not make sense.
  /prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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.

Completed in 683 milliseconds

1 2 3