/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/ |
test_check_circular.py | 11 self.assertRaises(ValueError, self.dumps, dct) 16 self.assertRaises(ValueError, self.dumps, lst) 22 self.assertRaises(ValueError, self.dumps, dct2)
|
test_recursion.py | 14 except ValueError: 17 self.fail("didn't raise ValueError on list recursion") 23 except ValueError: 26 self.fail("didn't raise ValueError on alternating list recursion") 37 except ValueError: 40 self.fail("didn't raise ValueError on dict recursion") 62 except ValueError: 65 self.fail("didn't raise ValueError on default recursion")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/ |
test_check_circular.py | 11 self.assertRaises(ValueError, self.dumps, dct) 16 self.assertRaises(ValueError, self.dumps, lst) 22 self.assertRaises(ValueError, self.dumps, dct2)
|
test_recursion.py | 14 except ValueError: 17 self.fail("didn't raise ValueError on list recursion") 23 except ValueError: 26 self.fail("didn't raise ValueError on alternating list recursion") 37 except ValueError: 40 self.fail("didn't raise ValueError on dict recursion") 62 except ValueError: 65 self.fail("didn't raise ValueError on default recursion")
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/ |
dbrecio.py | 51 raise ValueError, "I/O operation on closed file" 56 raise ValueError, "I/O operation on closed file" 65 raise ValueError, "I/O operation on closed file" 70 raise ValueError, "I/O operation on closed file" 85 raise ValueError, "I/O operation on closed file" 116 raise ValueError, "I/O operation on closed file" 128 raise ValueError, "I/O operation on closed file" 142 raise ValueError, "I/O operation on closed file"
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/ |
dbrecio.py | 51 raise ValueError, "I/O operation on closed file" 56 raise ValueError, "I/O operation on closed file" 65 raise ValueError, "I/O operation on closed file" 70 raise ValueError, "I/O operation on closed file" 85 raise ValueError, "I/O operation on closed file" 116 raise ValueError, "I/O operation on closed file" 128 raise ValueError, "I/O operation on closed file" 142 raise ValueError, "I/O operation on closed file"
|
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/unstable/ |
idl_definitions_builder.py | 46 raise ValueError('Unrecognized node class: %s' % node_class) 82 raise ValueError('Unrecognized node class: %s' % child_class) 118 raise ValueError('Unrecognized node class: %s' % child_class) 140 raise ValueError('Unrecognized node class: %s' % child_class) 151 raise ValueError('Expected 2 or 3 children, got %s' % num_children) 161 raise ValueError('Expected Value node, got %s' % value_node_class) 198 raise ValueError('Unrecognized node class: %s' % child_class) 240 raise ValueError('Unrecognized Argument node; expected "...", got "%s"' % child_name) 243 raise ValueError('Unrecognized node class: %s' % child_class) 255 raise ValueError('Expected 2 children, got %s' % num_children [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_strings.py | 25 self.assertRaises(ValueError, setattr, buf, "value", "aaaaaaaa") 36 self.assertRaises(ValueError, setattr, buf, "raw", memoryview("x" * 100)) 44 self.assertRaises(ValueError, setattr, buf, "raw", memoryview("x" * 100)) 119 self.assertRaises(ValueError, c_string, -1) 120 self.assertRaises(ValueError, c_string, 0) 140 self.assertRaises(ValueError, setattr, cs, "value", "123456789012345") 143 self.assertRaises(ValueError, setattr, cs, "value", "1234567") 184 self.assertRaises(ValueError, c_wstring, 0) 189 self.assertRaises(ValueError, setattr, cs, "value", u"123456789012345") 192 self.assertRaises(ValueError, setattr, cs, "value", u"1234567" [all...] |
test_frombuffer.py | 28 self.assertRaises(ValueError, 43 self.assertRaises(ValueError, lambda: (c_int * 16).from_buffer(a, sizeof(c_int))) 44 self.assertRaises(ValueError, lambda: (c_int * 1).from_buffer(a, 16 * sizeof(c_int))) 61 self.assertRaises(ValueError, 75 self.assertRaises(ValueError, 77 self.assertRaises(ValueError,
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_strings.py | 25 self.assertRaises(ValueError, setattr, buf, "value", "aaaaaaaa") 36 self.assertRaises(ValueError, setattr, buf, "raw", memoryview("x" * 100)) 44 self.assertRaises(ValueError, setattr, buf, "raw", memoryview("x" * 100)) 119 self.assertRaises(ValueError, c_string, -1) 120 self.assertRaises(ValueError, c_string, 0) 140 self.assertRaises(ValueError, setattr, cs, "value", "123456789012345") 143 self.assertRaises(ValueError, setattr, cs, "value", "1234567") 184 self.assertRaises(ValueError, c_wstring, 0) 189 self.assertRaises(ValueError, setattr, cs, "value", u"123456789012345") 192 self.assertRaises(ValueError, setattr, cs, "value", u"1234567" [all...] |
test_frombuffer.py | 28 self.assertRaises(ValueError, 43 self.assertRaises(ValueError, lambda: (c_int * 16).from_buffer(a, sizeof(c_int))) 44 self.assertRaises(ValueError, lambda: (c_int * 1).from_buffer(a, 16 * sizeof(c_int))) 61 self.assertRaises(ValueError, 75 self.assertRaises(ValueError, 77 self.assertRaises(ValueError,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_fcntl.py | 91 self.assertRaises(ValueError, fcntl.fcntl, -1, fcntl.F_SETFL, os.O_NONBLOCK) 92 self.assertRaises(ValueError, fcntl.fcntl, F(-1), fcntl.F_SETFL, os.O_NONBLOCK) 96 self.assertRaises(ValueError, fcntl.fcntl, _testcapi.INT_MAX + 1, 98 self.assertRaises(ValueError, fcntl.fcntl, F(_testcapi.INT_MAX + 1), 100 self.assertRaises(ValueError, fcntl.fcntl, _testcapi.INT_MIN - 1, 102 self.assertRaises(ValueError, fcntl.fcntl, F(_testcapi.INT_MIN - 1),
|
test_linuxaudiodev.py | 63 except ValueError, err: 67 except ValueError, err: 71 except ValueError, err: 75 except ValueError, err: 79 except ValueError, err: 84 except ValueError, err:
|
test_float.py | 36 self.assertRaises(ValueError, float, " 0x3.1 ") 37 self.assertRaises(ValueError, float, " -0x3.p-1 ") 38 self.assertRaises(ValueError, float, " +0x3.p-1 ") 39 self.assertRaises(ValueError, float, "++3.14") 40 self.assertRaises(ValueError, float, "+-3.14") 41 self.assertRaises(ValueError, float, "-+3.14") 42 self.assertRaises(ValueError, float, "--3.14") 44 self.assertRaises(ValueError, float, "-1.7d29") 45 self.assertRaises(ValueError, float, "3D-14") 51 # (in 2.6, long unicode inputs to float raised ValueError) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_fcntl.py | 91 self.assertRaises(ValueError, fcntl.fcntl, -1, fcntl.F_SETFL, os.O_NONBLOCK) 92 self.assertRaises(ValueError, fcntl.fcntl, F(-1), fcntl.F_SETFL, os.O_NONBLOCK) 96 self.assertRaises(ValueError, fcntl.fcntl, _testcapi.INT_MAX + 1, 98 self.assertRaises(ValueError, fcntl.fcntl, F(_testcapi.INT_MAX + 1), 100 self.assertRaises(ValueError, fcntl.fcntl, _testcapi.INT_MIN - 1, 102 self.assertRaises(ValueError, fcntl.fcntl, F(_testcapi.INT_MIN - 1),
|
test_linuxaudiodev.py | 63 except ValueError, err: 67 except ValueError, err: 71 except ValueError, err: 75 except ValueError, err: 79 except ValueError, err: 84 except ValueError, err:
|
test_float.py | 36 self.assertRaises(ValueError, float, " 0x3.1 ") 37 self.assertRaises(ValueError, float, " -0x3.p-1 ") 38 self.assertRaises(ValueError, float, " +0x3.p-1 ") 39 self.assertRaises(ValueError, float, "++3.14") 40 self.assertRaises(ValueError, float, "+-3.14") 41 self.assertRaises(ValueError, float, "-+3.14") 42 self.assertRaises(ValueError, float, "--3.14") 44 self.assertRaises(ValueError, float, "-1.7d29") 45 self.assertRaises(ValueError, float, "3D-14") 51 # (in 2.6, long unicode inputs to float raised ValueError) [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
object_store_creator.py | 32 raise ValueError('start_empty must be specified (typically False)') 36 raise ValueError('disable_wrappers much specify a store_type') 64 raise ValueError('%s cannot be used in a namespace')
|
object_store_creator_test.py | 45 self.assertRaises(ValueError, ObjectStoreCreator) 48 self.assertRaises(ValueError, 50 self.assertRaises(ValueError,
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/ |
util.py | 78 except ValueError: 85 except ValueError: 94 except ValueError:
|
compatibility.py | 19 raise ValueError("no path specified") 26 raise ValueError("Cannot mix UNC and non-UNC paths (%s and %s)" 29 raise ValueError("path is on drive %s, start on drive %s" 48 raise ValueError("no path specified")
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/ |
jsonchecker.py | 41 except ValueError, e:
|
/external/chromium_org/third_party/tlslite/tlslite/ |
Checker.py | 71 raise ValueError() 73 raise ValueError() 75 raise ValueError() 77 raise ValueError()
|
/external/chromium_org/tools/site_compare/commands/ |
timeload.py | 87 raise ValueError( 90 raise ValueError( 94 raise ValueError("unknown browsers: %r" % b) 104 raise ValueError("could not find scraper for (%r, %r)" %
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
enum_type_wrapper.py | 55 raise ValueError('Enum %s has no name defined for value %d' % ( 62 raise ValueError('Enum %s has no value defined for name %s' % (
|