HomeSort by relevance Sort by last modified time
    Searched refs:ValueError (Results 126 - 150 of 1006) sorted by null

1 2 3 4 56 7 8 91011>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
string.py 70 raise ValueError, "maketrans arguments must have same length"
145 raise ValueError('Invalid placeholder in string: line %d, col %d' %
170 raise ValueError('Unrecognized named group in pattern',
203 raise ValueError('Unrecognized named group in pattern',
214 index_error = ValueError
215 atoi_error = ValueError
216 atof_error = ValueError
217 atol_error = ValueError
325 Like find but raises ValueError when the substring is not found.
334 Like rfind but raises ValueError when the substring is not found
    [all...]
stringold.py 40 index_error = ValueError
41 atoi_error = ValueError
42 atof_error = ValueError
43 atol_error = ValueError
139 Like find but raises ValueError when the substring is not found.
148 Like rfind but raises ValueError when the substring is not found.
391 raise ValueError, "maketrans arguments must have same length"
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_file.py 124 self.assertRaises(ValueError, method, *args)
151 except ValueError:
160 self.assertRaises((IOError, ValueError), sys.stdin.seek, -1)
165 self.assertRaises((IOError, ValueError), sys.stdin.truncate)
172 except ValueError as msg:
277 except ValueError:
287 except ValueError:
298 except ValueError:
306 except ValueError:
322 except ValueError
    [all...]
test_memoryio.py 91 self.assertRaises(ValueError, memio.write, self.buftype(""))
106 self.assertRaises(ValueError, memio.writelines, [])
120 self.assertRaises(ValueError, memio.truncate, -1)
138 self.assertRaises(ValueError, memio.truncate, 0)
175 self.assertRaises(ValueError, memio.read)
206 self.assertRaises(ValueError, memio.readline)
228 self.assertRaises(ValueError, memio.readlines)
250 self.assertRaises(ValueError, next, memio)
264 self.assertRaises(ValueError, memio.getvalue)
271 self.assertRaises(ValueError, memio.seek, -1
    [all...]
test_sys_settrace.py 395 raise ValueError # just something that isn't RuntimeError
417 except ValueError:
560 except ValueError, e:
570 except ValueError, e:
590 except ValueError:
600 except ValueError, e:
609 except (ValueError, RuntimeError), e:
620 except ValueError, e:
631 except ValueError, e:
644 except ValueError, e
    [all...]
test_cpickle.py 135 self.assertRaises(ValueError,
140 self.assertRaises(ValueError,
145 self.assertRaises(ValueError,
150 self.assertRaises(ValueError,
155 self.assertRaises(ValueError,
test_mmap.py 81 self.assertRaises(ValueError, m.seek, -1)
84 self.assertRaises(ValueError, m.seek, 1, 2)
87 self.assertRaises(ValueError, m.seek, -len(m)-1, 2)
101 self.assertRaises(ValueError, m.seek, 513, 0)
180 except ValueError:
181 # we do not expect a ValueError on Windows
188 # we expect a ValueError on Unix, but not on Windows
190 self.fail("Opening mmap with size+1 should raise ValueError.")
232 self.assertRaises(ValueError, mmap.mmap, f.fileno(), mapsize, access=4)
238 self.assertRaises(ValueError, mmap.mmap, f.fileno(), mapsize
    [all...]
test_unicode.py 152 self.assertRaises(ValueError, t1('abcdefghiabc').index, t2('hib'))
153 self.assertRaises(ValueError, t1('abcdefghiab').index, t2('abc'), 1)
154 self.assertRaises(ValueError, t1('abcdefghi').index, t2('ghi'), 8)
155 self.assertRaises(ValueError, t1('abcdefghi').index, t2('ghi'), -1)
166 self.assertRaises(ValueError, t1('abcdefghiabc').rindex, t2('hib'))
167 self.assertRaises(ValueError, t1('defghiabc').rindex, t2('def'), 1)
168 self.assertRaises(ValueError, t1('defghiabc').rindex, t2('abc'), 0, -1)
169 self.assertRaises(ValueError, t1('abcdefghi').rindex, t2('ghi'), 0, 8)
170 self.assertRaises(ValueError, t1('abcdefghi').rindex, t2('ghi'), 0, -1)
608 self.assertRaises(ValueError, u"%.1\u1032f".__mod__, (1.0/3)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
string.py 70 raise ValueError, "maketrans arguments must have same length"
145 raise ValueError('Invalid placeholder in string: line %d, col %d' %
170 raise ValueError('Unrecognized named group in pattern',
203 raise ValueError('Unrecognized named group in pattern',
214 index_error = ValueError
215 atoi_error = ValueError
216 atof_error = ValueError
217 atol_error = ValueError
325 Like find but raises ValueError when the substring is not found.
334 Like rfind but raises ValueError when the substring is not found
    [all...]
stringold.py 40 index_error = ValueError
41 atoi_error = ValueError
42 atof_error = ValueError
43 atol_error = ValueError
139 Like find but raises ValueError when the substring is not found.
148 Like rfind but raises ValueError when the substring is not found.
391 raise ValueError, "maketrans arguments must have same length"
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_file.py 124 self.assertRaises(ValueError, method, *args)
151 except ValueError:
160 self.assertRaises((IOError, ValueError), sys.stdin.seek, -1)
165 self.assertRaises((IOError, ValueError), sys.stdin.truncate)
172 except ValueError as msg:
277 except ValueError:
287 except ValueError:
298 except ValueError:
306 except ValueError:
322 except ValueError
    [all...]
test_memoryio.py 91 self.assertRaises(ValueError, memio.write, self.buftype(""))
106 self.assertRaises(ValueError, memio.writelines, [])
120 self.assertRaises(ValueError, memio.truncate, -1)
138 self.assertRaises(ValueError, memio.truncate, 0)
175 self.assertRaises(ValueError, memio.read)
206 self.assertRaises(ValueError, memio.readline)
228 self.assertRaises(ValueError, memio.readlines)
250 self.assertRaises(ValueError, next, memio)
264 self.assertRaises(ValueError, memio.getvalue)
271 self.assertRaises(ValueError, memio.seek, -1
    [all...]
test_sys_settrace.py 395 raise ValueError # just something that isn't RuntimeError
417 except ValueError:
560 except ValueError, e:
570 except ValueError, e:
590 except ValueError:
600 except ValueError, e:
609 except (ValueError, RuntimeError), e:
620 except ValueError, e:
631 except ValueError, e:
644 except ValueError, e
    [all...]
test_cpickle.py 135 self.assertRaises(ValueError,
140 self.assertRaises(ValueError,
145 self.assertRaises(ValueError,
150 self.assertRaises(ValueError,
155 self.assertRaises(ValueError,
test_mmap.py 81 self.assertRaises(ValueError, m.seek, -1)
84 self.assertRaises(ValueError, m.seek, 1, 2)
87 self.assertRaises(ValueError, m.seek, -len(m)-1, 2)
101 self.assertRaises(ValueError, m.seek, 513, 0)
180 except ValueError:
181 # we do not expect a ValueError on Windows
188 # we expect a ValueError on Unix, but not on Windows
190 self.fail("Opening mmap with size+1 should raise ValueError.")
232 self.assertRaises(ValueError, mmap.mmap, f.fileno(), mapsize, access=4)
238 self.assertRaises(ValueError, mmap.mmap, f.fileno(), mapsize
    [all...]
test_unicode.py 152 self.assertRaises(ValueError, t1('abcdefghiabc').index, t2('hib'))
153 self.assertRaises(ValueError, t1('abcdefghiab').index, t2('abc'), 1)
154 self.assertRaises(ValueError, t1('abcdefghi').index, t2('ghi'), 8)
155 self.assertRaises(ValueError, t1('abcdefghi').index, t2('ghi'), -1)
166 self.assertRaises(ValueError, t1('abcdefghiabc').rindex, t2('hib'))
167 self.assertRaises(ValueError, t1('defghiabc').rindex, t2('def'), 1)
168 self.assertRaises(ValueError, t1('defghiabc').rindex, t2('abc'), 0, -1)
169 self.assertRaises(ValueError, t1('abcdefghi').rindex, t2('ghi'), 0, 8)
170 self.assertRaises(ValueError, t1('abcdefghi').rindex, t2('ghi'), 0, -1)
608 self.assertRaises(ValueError, u"%.1\u1032f".__mod__, (1.0/3)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/logging/
config.py 274 raise ValueError('Not a valid Python identifier: %r' % s)
408 v = ValueError('Cannot resolve %r: %s' % (s, e))
421 raise ValueError("Unable to convert %r" % value)
445 raise ValueError('Unable to convert '
509 raise ValueError("dictionary doesn't specify a version")
511 raise ValueError("Unsupported version: %s" % config['version'])
520 raise ValueError('No handler found with '
530 raise ValueError('Unable to configure handler '
537 raise ValueError('Unable to configure logger '
544 raise ValueError('Unable to configure root
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/logging/
config.py 274 raise ValueError('Not a valid Python identifier: %r' % s)
408 v = ValueError('Cannot resolve %r: %s' % (s, e))
421 raise ValueError("Unable to convert %r" % value)
445 raise ValueError('Unable to convert '
509 raise ValueError("dictionary doesn't specify a version")
511 raise ValueError("Unsupported version: %s" % config['version'])
520 raise ValueError('No handler found with '
530 raise ValueError('Unable to configure handler '
537 raise ValueError('Unable to configure logger '
544 raise ValueError('Unable to configure root
    [all...]
  /external/skia/tools/
jsondiff.py 96 raise ValueError(
101 raise ValueError(
135 raise ValueError(
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/
__init__.py 116 except (ValueError, KeyError):
125 except ValueError:
130 except (ValueError, OSError, AttributeError):
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
applesingle.py 27 # so I think it should test positive against ValueError.
28 class Error(ValueError):
55 except ValueError, arg:
72 except ValueError, arg:
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/
util.py 75 except ValueError:
82 except ValueError:
91 except ValueError:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/
__init__.py 116 except (ValueError, KeyError):
125 except ValueError:
130 except (ValueError, OSError, AttributeError):
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/
util.py 75 except ValueError:
82 except ValueError:
91 except ValueError:
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_slicing.py 61 # ValueError: Can only assign sequence of same size
62 self.assertRaises(ValueError, setslice, a, 0, 5, range(32))
63 self.assertRaises(ValueError, setitem, a, slice(0, 5), range(32))
80 self.assertRaises(ValueError, operator.getitem,
82 self.assertRaises(ValueError, operator.getitem,
84 self.assertRaises(ValueError, operator.getitem,
86 self.assertRaises(ValueError, operator.getitem,

Completed in 488 milliseconds

1 2 3 4 56 7 8 91011>>