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

1 2 3 4 5 6 7 8 910

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_varsize_struct.py 41 # accessing elements of zero-sized arrays raise IndexError
42 self.assertRaises(IndexError, array.__setitem__, 0, None)
43 self.assertRaises(IndexError, array.__getitem__, 0)
44 self.assertRaises(IndexError, array.__setitem__, 1, None)
45 self.assertRaises(IndexError, array.__getitem__, 1)
46 self.assertRaises(IndexError, array.__setitem__, -1, None)
47 self.assertRaises(IndexError, array.__getitem__, -1)
test_returnfuncptrs.py 53 raise IndexError
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_varsize_struct.py 41 # accessing elements of zero-sized arrays raise IndexError
42 self.assertRaises(IndexError, array.__setitem__, 0, None)
43 self.assertRaises(IndexError, array.__getitem__, 0)
44 self.assertRaises(IndexError, array.__setitem__, 1, None)
45 self.assertRaises(IndexError, array.__getitem__, 1)
46 self.assertRaises(IndexError, array.__setitem__, -1, None)
47 self.assertRaises(IndexError, array.__getitem__, -1)
test_returnfuncptrs.py 53 raise IndexError
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_userstring.py 55 self.assertRaises(IndexError, s.__setitem__, -4, "bar")
56 self.assertRaises(IndexError, s.__setitem__, 3, "bar")
64 self.assertRaises(IndexError, s.__delitem__, -4)
65 self.assertRaises(IndexError, s.__delitem__, 3)
test_memoryview.py 37 self.assertRaises(IndexError, lambda: m[6])
38 self.assertRaises(IndexError, lambda: m[-7])
39 self.assertRaises(IndexError, lambda: m[sys.maxsize])
40 self.assertRaises(IndexError, lambda: m[-sys.maxsize])
104 self.assertRaises(IndexError, setitem, 6, b"a")
105 self.assertRaises(IndexError, setitem, -7, b"a")
106 self.assertRaises(IndexError, setitem, sys.maxsize, b"a")
107 self.assertRaises(IndexError, setitem, -sys.maxsize, b"a")
seq_tests.py 145 self.assertRaises(IndexError, u.__getitem__, -len(u)-1)
146 self.assertRaises(IndexError, u.__getitem__, len(u))
150 self.assertRaises(IndexError, u.__getitem__, 0)
151 self.assertRaises(IndexError, u.__getitem__, -1)
160 self.assertRaises(IndexError, a.__getitem__, -3)
161 self.assertRaises(IndexError, a.__getitem__, 3)
323 self.assertRaises(IndexError, a.__getitem__, -3)
324 self.assertRaises(IndexError, a.__getitem__, 3)
test_str.py 340 self.assertRaises(IndexError, '{0}'.format)
341 self.assertRaises(IndexError, '{1}'.format, 'abc')
348 self.assertRaises(IndexError, "{0.}".format)
350 self.assertRaises(IndexError, "{0[}".format)
365 self.assertRaises(IndexError, "{:}".format)
366 self.assertRaises(IndexError, "{:s}".format)
367 self.assertRaises(IndexError, "{}".format)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_userstring.py 55 self.assertRaises(IndexError, s.__setitem__, -4, "bar")
56 self.assertRaises(IndexError, s.__setitem__, 3, "bar")
64 self.assertRaises(IndexError, s.__delitem__, -4)
65 self.assertRaises(IndexError, s.__delitem__, 3)
test_memoryview.py 37 self.assertRaises(IndexError, lambda: m[6])
38 self.assertRaises(IndexError, lambda: m[-7])
39 self.assertRaises(IndexError, lambda: m[sys.maxsize])
40 self.assertRaises(IndexError, lambda: m[-sys.maxsize])
104 self.assertRaises(IndexError, setitem, 6, b"a")
105 self.assertRaises(IndexError, setitem, -7, b"a")
106 self.assertRaises(IndexError, setitem, sys.maxsize, b"a")
107 self.assertRaises(IndexError, setitem, -sys.maxsize, b"a")
seq_tests.py 145 self.assertRaises(IndexError, u.__getitem__, -len(u)-1)
146 self.assertRaises(IndexError, u.__getitem__, len(u))
150 self.assertRaises(IndexError, u.__getitem__, 0)
151 self.assertRaises(IndexError, u.__getitem__, -1)
160 self.assertRaises(IndexError, a.__getitem__, -3)
161 self.assertRaises(IndexError, a.__getitem__, 3)
323 self.assertRaises(IndexError, a.__getitem__, -3)
324 self.assertRaises(IndexError, a.__getitem__, 3)
test_str.py 340 self.assertRaises(IndexError, '{0}'.format)
341 self.assertRaises(IndexError, '{1}'.format, 'abc')
348 self.assertRaises(IndexError, "{0.}".format)
350 self.assertRaises(IndexError, "{0[}".format)
365 self.assertRaises(IndexError, "{:}".format)
366 self.assertRaises(IndexError, "{:s}".format)
367 self.assertRaises(IndexError, "{}".format)
  /external/chromium/build/linux/
rewrite_dirs.py 47 except IndexError:
  /external/chromium_org/build/linux/
rewrite_dirs.py 48 except IndexError:
  /external/chromium_org/net/tools/testserver/
echo_message.py 307 except (IndexError, ValueError):
347 except (IndexError, ValueError):
375 except (IndexError, ValueError):
381 except (IndexError, ValueError):
  /external/chromium_org/tools/telemetry/telemetry/core/backends/webdriver/
webdriver_tab_list_backend.py 31 raise IndexError('list index out of range')
  /external/wpa_supplicant_8/wpa_supplicant/utils/
log2pcap.py 30 except IndexError:
  /external/chromium_org/third_party/simplejson/
decoder.py 137 except IndexError:
188 # Use a slice to prevent IndexError from being raised, the following
228 except IndexError:
242 except IndexError:
259 except IndexError:
307 except IndexError:
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/
decoder.py 106 except IndexError:
154 # Use a slice to prevent IndexError from being raised, the following
191 except IndexError:
205 except IndexError:
222 except IndexError:
268 except IndexError:
scanner.py 31 except IndexError:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/
decoder.py 106 except IndexError:
154 # Use a slice to prevent IndexError from being raised, the following
191 except IndexError:
205 except IndexError:
222 except IndexError:
268 except IndexError:
scanner.py 31 except IndexError:
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/
util.py 59 except IndexError:
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
fileinput.py 246 except IndexError:
264 raise IndexError, "end of input reached"
295 except IndexError:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
fileinput.py 246 except IndexError:
264 raise IndexError, "end of input reached"
295 except IndexError:

Completed in 1188 milliseconds

1 2 3 4 5 6 7 8 910