Home
last modified time | relevance | path

Searched refs:RuntimeError (Results 1 – 25 of 462) sorted by relevance

12345678910>>...19

/external/python/cpython2/Lib/json/tests/
Dtest_recursion.py72 with self.assertRaises(RuntimeError):
74 with self.assertRaises(RuntimeError):
76 with self.assertRaises(RuntimeError):
79 with self.assertRaises(RuntimeError):
81 with self.assertRaises(RuntimeError):
83 with self.assertRaises(RuntimeError):
91 with self.assertRaises(RuntimeError):
93 with self.assertRaises(RuntimeError):
103 with self.assertRaises(RuntimeError):
/external/python/cpython2/Lib/test/
Dtest_iterlen.py85 self.assertRaises(RuntimeError, it.next)
204 raise RuntimeError('hello')
209 raise RuntimeError('hello')
219 self.assertRaises(RuntimeError, list, BadLen())
220 self.assertRaises(RuntimeError, list, BadLengthHint())
221 self.assertRaises(RuntimeError, [].extend, BadLen())
222 self.assertRaises(RuntimeError, [].extend, BadLengthHint())
223 self.assertRaises(RuntimeError, zip, BadLen())
224 self.assertRaises(RuntimeError, zip, BadLengthHint())
225 self.assertRaises(RuntimeError, filter, None, BadLen())
[all …]
Dtest_call.py38 raise RuntimeError
67 raise RuntimeError
75 raise RuntimeError
83 raise RuntimeError
106 raise RuntimeError
117 raise RuntimeError
Dtest_isinstance.py46 raise RuntimeError
59 self.assertRaises(RuntimeError, isinstance, I(), C())
68 raise RuntimeError
71 self.assertRaises(RuntimeError, isinstance, I(), C())
94 raise RuntimeError
99 self.assertRaises(RuntimeError, issubclass, C(), S())
120 raise RuntimeError
123 self.assertRaises(RuntimeError, issubclass, B, C())
252 self.assertRaises(RuntimeError, blowstack, issubclass, str, str)
257 self.assertRaises(RuntimeError, blowstack, isinstance, '', str)
Dtest_richcmp.py201 def __cmp__(self_, other): raise RuntimeError, "expected"
207 self.assertRaises(RuntimeError, cmp, a, b)
232 self.assertRaises(RuntimeError, operator.eq, a, b)
233 self.assertRaises(RuntimeError, operator.ne, a, b)
234 self.assertRaises(RuntimeError, operator.lt, a, b)
235 self.assertRaises(RuntimeError, operator.le, a, b)
236 self.assertRaises(RuntimeError, operator.gt, a, b)
237 self.assertRaises(RuntimeError, operator.ge, a, b)
244 self.assertRaises(RuntimeError, operator.lt, a, b)
245 self.assertRaises(RuntimeError, operator.le, a, b)
[all …]
Dtest_with.py62 raise RuntimeError("Context is not reentrant")
163 raise RuntimeError("Enter threw")
172 self.assertRaises(RuntimeError, shouldThrow)
180 raise RuntimeError(42)
184 self.assertRaises(RuntimeError, shouldThrow)
187 TEST_EXCEPTION = RuntimeError("test exception")
358 self.assertRaises(RuntimeError, shouldThrow)
383 self.assertRaises(RuntimeError, shouldThrow)
401 self.assertRaises(RuntimeError, shouldThrow)
419 self.assertRaises(RuntimeError, shouldThrow)
[all …]
/external/mesa3d/src/mapi/glapi/gen/
Dtypeexpr.py124 … raise RuntimeError("create_initial_types must be called before creating type_expression objects.")
158 raise RuntimeError("Invalid type expression (dangling pointer)")
161 … raise RuntimeError("Invalid type expression (signed / unsigned applied to pointer)")
168 …raise RuntimeError('Invalid type expression (garbage after pointer qualifier -> "%s")' % (self.ori…
176 raise RuntimeError("Invalid type expression (both signed and unsigned specified)")
180 raise RuntimeError("Invalid type expression (dangling const)")
183 raise RuntimeError("Invalid type expression (dangling signed)")
186 raise RuntimeError("Invalid type expression (dangling unsigned)")
197 raise RuntimeError('Unknown base type "%s".' % (type_name))
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
Dbattor_trace_agent_unittest.py28 raise RuntimeError('Should not call this function in the test')
65 raise RuntimeError('Simulated error in StartShell')
72 raise RuntimeError('Simulated error in StartTracing')
79 raise RuntimeError('Simulated error in StopTracing')
87 raise RuntimeError('Simulated error in CollectTraceData')
121 self.assertRaises(RuntimeError,
129 self.assertRaises(RuntimeError,
138 self.assertRaises(RuntimeError, agent.StopAgentTracing)
147 self.assertRaises(RuntimeError, agent.GetResults)
/external/autotest/server/cros/ap_configurators/
DbelkinF9K1102_ap_configurator.py31 raise RuntimeError('Got %s error. You should click the generate '
34 raise RuntimeError('Unknown alert dialog' + alert.text)
89 raise RuntimeError('Invalid page number passed. Number of pages '
115 raise RuntimeError('We got a Duplicate Admin error.')
117 raise RuntimeError(str(e))
134 raise RuntimeError('We got a NoSuchElementException: ' + str(e))
155 raise RuntimeError('We did not save the page. '
206 raise RuntimeError('The mode %d not supported by router %s. ',
220 raise RuntimeError('Invalid band sent %s' % band)
Dnetgear_WNDR_dual_band_configurator.py30 raise RuntimeError('Wrong mode selected. %s' % text)
33 raise RuntimeError('%s. Please change the SSID of one band' % text)
43 raise RuntimeError('We have an unhandled alert on AP %s: %s' %
93 raise RuntimeError('Invalid page number passed. Number of pages '
138 raise RuntimeError('Unsupported mode passed.')
188 raise RuntimeError('Invalid band sent %s' % band)
222 raise RuntimeError('We got an exception: "%s". Check the mode. '
257 raise RuntimeError('For WPA-PSK the mode should be 54Mbps. %s' % e)
DbelkinF9K1105_ap_configurator.py28 raise RuntimeError('Got %s error. You should click the generate '
31 raise RuntimeError('Unknown alert dialog' + alert.text)
86 raise RuntimeError('Invalid page number passed. Number of pages '
113 raise RuntimeError('We got the Duplicate admin message. '
137 raise RuntimeError('We could not load the page ' + page_url +
147 raise RuntimeError('Incorrect password error: '
179 raise RuntimeError("We did not save the changes because we "
229 raise RuntimeError('The mode %d not supported by router %s. ',
243 raise RuntimeError('Invalid band sent %s' % band)
Dtrendnet692gr_ap_configurator.py26 raise RuntimeError(text)
81 raise RuntimeError('Invalid page number passed. Number of pages'
92 raise RuntimeError('Invalid page number passed. Number of pages'
96 raise RuntimeError('Incorrect band band = %s' % self.current_band)
132 raise RuntimeError('The mode selected %d is not supported by router'
144 raise RuntimeError('Invalid band sent %s' % band)
Dmedialink_ap_configurator.py30 raise RuntimeError('We got an alert. %s' % text)
33 raise RuntimeError('Please enable wireless. %s' % text)
36 raise RuntimeError('WEP key should be numbers. %s' % text)
39 raise RuntimeError('There was a system error on AP!')
43 raise RuntimeError('We have an unhandled alert: %s' % text)
82 raise RuntimeError('Invalid page number passed. Number of pages '
120 raise RuntimeError('Invalid mode passed: %x' % mode)
Dtrendnet812dru_ap_configurator.py27 raise RuntimeError('An unexpected alert was thrown: %s' % text)
64 raise RuntimeError('Invalid page number passed. Number of pages'
75 raise RuntimeError('Invalid page number passed. Number of pages'
79 raise RuntimeError('Incorrect band band = %s' % self.current_band)
97 raise RuntimeError('The mode selected %s is not supported by router'
DbelkinF9K1001_ap_configurator.py35 raise RuntimeError('Unhandeled modal dialog. %s' % text)
61 raise RuntimeError('Invalid page number passed. Number of pages '
113 raise RuntimeError('Error while saving the page. ' + str(e))
132 raise RuntimeError(message)
/external/autotest/client/cros/audio/
Dalsa_utils.py79 raise RuntimeError('amixer command failed')
112 raise RuntimeError('amixer command failed')
161 raise RuntimeError('arecord -l command failed')
202 raise RuntimeError('arecord -l command failed')
218 raise RuntimeError('%s failed' % cmd)
265 raise RuntimeError('no playback device')
298 raise RuntimeError('no record device')
322 raise RuntimeError('amixer command failed')
/external/python/cpython2/Lib/
Dfileinput.py95 raise RuntimeError, "input() already active"
118 raise RuntimeError, "no active input()"
127 raise RuntimeError, "no active input()"
137 raise RuntimeError, "no active input()"
147 raise RuntimeError, "no active input()"
156 raise RuntimeError, "no active input()"
165 raise RuntimeError, "no active input()"
174 raise RuntimeError, "no active input()"
248 raise RuntimeError, "accessing lines out of order"
/external/vulkan-validation-layers/
Dvk-layer-introspect.py119 raise RuntimeError("unsupported v%d library" % self.version)
128 raise RuntimeError("failed to load library")
151 raise RuntimeError(func_name + " failed with " + str(result))
155 raise RuntimeError("invalid pCount returned in " + func_name)
175 raise RuntimeError(func_name + " is missing")
193 raise RuntimeError(" or ".join(names) + " is missing")
207 raise RuntimeError(" or ".join(names) + " is missing")
229 raise RuntimeError(
314 raise RuntimeError(
395 except RuntimeError as err:
/external/toolchain-utils/
Dheat_map.py52 raise RuntimeError('Failed to generate perf report')
60 raise RuntimeError('Failed to run grep to get base address')
67 raise RuntimeError(
71 raise RuntimeError('Could not find the base address in the profile')
90 raise RuntimeError('Failed to run script to generate heatmap')
139 except RuntimeError, e:
/external/python/cpython2/Demo/rpc/
Drpc.py114 raise RuntimeError, 'no REPLY but %r' % (mtype,)
121 raise RuntimeError, \
125 raise RuntimeError, \
127 raise RuntimeError, 'MSG_DENIED: %r' % (stat,)
129 raise RuntimeError, \
134 raise RuntimeError, 'call failed: PROG_UNAVAIL'
138 raise RuntimeError, \
141 raise RuntimeError, 'call failed: PROC_UNAVAIL'
143 raise RuntimeError, 'call failed: GARBAGE_ARGS'
145 raise RuntimeError, 'call failed: %r' % (stat,)
[all …]
/external/autotest/client/cros/multimedia/
Dfacade_resource.py216 raise RuntimeError('Autotest extension not found')
218 raise RuntimeError('Extension not found in %r'
267 raise RuntimeError('There is no tab for %s' % tab_descriptor)
283 raise RuntimeError('There is no tab for %s' % tab_descriptor)
296 raise RuntimeError('There is no tab for %s' % tab_descriptor)
310 raise RuntimeError('There is no tab for %s' % tab_descriptor)
/external/autotest/client/cros/graphics/
Dgbm.py70 raise RuntimeError("Could not load GBM library.")
124 raise RuntimeError("gbm_bo_import() returned NULL")
138 raise RuntimeError("Map width and/or height is 0")
142 raise RuntimeError("gbm_bo_map() stride is 0")
144 raise RuntimeError("gbm_bo_map() returned NULL")
224 raise RuntimeError(
/external/toolchain-utils/crosperf/
Dexperiment_factory.py243 raise RuntimeError('No benchmarks specified')
267 raise RuntimeError("Can not have empty 'build' field!")
284 raise RuntimeError('Only one remote is allowed when same_machine '
300 raise RuntimeError('No labels specified')
325 raise RuntimeError('There is no remote for {0}'.format(board))
328 raise RuntimeError('IOError while reading file {0}'
331 raise RuntimeError('There is not remote for {0}'.format(board))
/external/toolchain-utils/dejagnu/
Drun_dejagnu.py253 raise RuntimeError("Failed to create \'{0}\' inside chroot.".format(
257 raise RuntimeError('{0} is not a valid gcc source tree.'.format(
280 raise RuntimeError('Failed to create \'{0}\' inside chroot.'.format(
284 raise RuntimeError('{0} is not a valid gcc build tree.'.format(
304 raise RuntimeError('Failed to get gcc version.')
319 raise RuntimeError('ebuild gcc failed.')
354 raise RuntimeError('Failed to unmount {0}'.format(mp.mount_dir))
358 raise RuntimeError(
378 raise RuntimeError("Failed to acquire one machine from \'{0}\'.".format(
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/
Dconstant_resolver.py20 raise RuntimeError(
35 raise RuntimeError('Circular dependency for constant: %s' % constant.name)
50 raise RuntimeError('Circular dependency for enum: %s' % enum.name)
58 raise RuntimeError('Unexpected value: %s' % field.value)

12345678910>>...19