/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_random_things.py | 6 raise ValueError(arg) 53 "ValueError: 42")
|
test_stringptr.py | 16 self.assertRaises(ValueError, getattr, x.str, "contents")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
log.py | 21 raise ValueError('%s wrong log level' % str(level))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
fileinput.py | 224 raise ValueError("FileInput opening mode must be one of " 228 raise ValueError("FileInput cannot use an opening hook in inplace mode") 230 raise ValueError("FileInput openhook must be callable") 366 except ValueError:
|
ntpath.py | 336 except ValueError: 348 except ValueError: 371 except ValueError: 498 raise ValueError("no path specified") 504 raise ValueError("Cannot mix UNC and non-UNC paths (%s and %s)" 508 raise ValueError("path is on UNC root %s, start on UNC root %s" 511 raise ValueError("path is on drive %s, start on drive %s"
|
Queue.py | 56 Raises a ValueError if called more times than there were items 64 raise ValueError('task_done() called too many times') 128 raise ValueError("'timeout' must be a positive number") 170 raise ValueError("'timeout' must be a positive number")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/ |
test_float.py | 33 self.assertRaises(ValueError, self.dumps, [val], allow_nan=False)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_StringIO.py | 72 self.assertRaises(ValueError, f.write, 'frobnitz') 89 self.assertRaises(ValueError, f.isatty) 104 self.assertRaises(ValueError, self._fp.next) 108 self.assertRaises(ValueError, self._fp.getvalue)
|
time_hashlib.py | 67 except ValueError:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
test_assertions.py | 65 self.assertRaises(KeyError, _raise, ValueError) 66 except ValueError: 88 raise ValueError 89 except ValueError:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/dom/ |
domreg.py | 90 raise ValueError, "bad feature name: %r" % (feature,)
|
/system/media/camera/docs/ |
metadata_helpers.py | 240 raise ValueError("Context buffer was not set") 320 except ValueError: 360 raise ValueError("Expected entry to be an instance of Entry") 440 raise ValueError("Can't map '%s' to a primitive, not supported" %what)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/ |
optparser.py | 156 raise ValueError('Invalid "min_confidence" parameter: value ' 161 raise ValueError('Invalid "output_format" parameter: ' 446 except ValueError, err:
|
optparser_unittest.py | 209 self.assertRaises(ValueError, ProcessorOptions, output_format="bad") 210 ProcessorOptions(output_format="emacs") # No ValueError: works 212 self.assertRaises(ValueError, ProcessorOptions, min_confidence=0) 213 self.assertRaises(ValueError, ProcessorOptions, min_confidence=6)
|
/external/markdown/ |
regression-tests.py | 192 self.assertRaises(ValueError, self.odict.add, 'sixth', '.', '<seventh') 193 self.assertRaises(ValueError, self.odict.add, 'second', 'is', 'third') 229 except: ValueError
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
Queue.py | 56 Raises a ValueError if called more times than there were items 64 raise ValueError('task_done() called too many times') 128 raise ValueError("'timeout' must be a positive number") 170 raise ValueError("'timeout' must be a positive number")
|
timeit.py | 134 raise ValueError("setup is neither a string nor callable") 146 raise ValueError("setup is neither a string nor callable") 149 raise ValueError("stmt is neither a string nor callable")
|
xdrlib.py | 83 raise ValueError, 'fstring size must be nonnegative' 107 raise ValueError, 'wrong array size' 195 raise ValueError, 'fstring size must be nonnegative'
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/macholib/ |
dyld.py | 138 raise ValueError("dylib %s could not be found" % (name,)) 151 except ValueError, e: 160 except ValueError:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_metaclass.py | 59 raise ValueError("No class suite and no ':'!") 106 raise ValueError("No class suite!") 190 raise ValueError("Unexpected class definition")
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_file2k.py | 130 self.assertRaises(ValueError, method) 134 self.assertRaises(ValueError, method) 135 self.assertRaises(ValueError, self.f.writelines, []) 154 self.assertRaises(ValueError, self.f.writelines, nasty()) 210 except ValueError: 221 except (IOError, ValueError): 248 except ValueError, msg: 346 except ValueError: 349 self.fail("%s%r after next() didn't raise ValueError" % 366 except ValueError [all...] |
test_fractions.py | 200 ValueError, "Invalid literal for Fraction: '3/'", 203 ValueError, "Invalid literal for Fraction: '/2'", 206 ValueError, "Invalid literal for Fraction: '3 /2'", 210 ValueError, "Invalid literal for Fraction: '3/+2'", 214 ValueError, "Invalid literal for Fraction: '+ 3/2'", 218 ValueError, "Invalid literal for Fraction: '3a2'", 222 ValueError, "Invalid literal for Fraction: '3/7.2'", 226 ValueError, "Invalid literal for Fraction: '3.2/7'", 230 ValueError, "Invalid literal for Fraction: '.'", 310 ValueError, "max_denominator should be at least 1" [all...] |
test_sys.py | 46 raise ValueError 49 self.assertRaises(ValueError, eval, code) 61 raise ValueError(42) 62 except ValueError, exc: 66 self.assertTrue(err.getvalue().endswith("ValueError: 42\n")) 92 raise ValueError, 42 93 except ValueError, exc: 102 raise ValueError, 13 103 except ValueError, exc: 222 self.assertRaises(ValueError, sys.setrecursionlimit, -42 [all...] |
test_timeout.py | 61 self.assertRaises(ValueError, self.sock.settimeout, -1) 62 self.assertRaises(ValueError, self.sock.settimeout, -1L) 63 self.assertRaises(ValueError, self.sock.settimeout, -1.0)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/macholib/ |
dyld.py | 138 raise ValueError("dylib %s could not be found" % (name,)) 151 except ValueError, e: 160 except ValueError:
|