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

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_call.py 12 self.assertRaises(TypeError, {}.has_key)
19 self.assertRaises(TypeError, {}.has_key, 0, 1)
24 except TypeError:
35 except TypeError:
41 self.assertRaises(TypeError, {}.has_key, x=2)
44 self.assertRaises(TypeError, {}.has_key, x=2)
47 self.assertRaises(TypeError, {}.has_key, x=2, y=2)
53 self.assertRaises(TypeError, {}.keys, 0)
56 self.assertRaises(TypeError, {}.keys, 0, 1)
64 except TypeError
    [all...]
test_extcall.py 65 TypeError: e() got an unexpected keyword argument 'c'
70 TypeError: g() takes at least 1 argument (0 given)
75 TypeError: g() takes at least 1 argument (0 given)
80 TypeError: g() takes at least 1 argument (0 given)
96 TypeError: g() argument after * must be a sequence, not instance
105 TypeError: g() argument after * must be a sequence, not instance
155 TypeError: g() got multiple values for keyword argument 'x'
160 TypeError: f() keywords must be strings
165 TypeError: h() got an unexpected keyword argument 'e'
170 TypeError: h() argument after * must be a sequence, not functio
    [all...]
test_operator.py 37 self.assertRaises(TypeError, operator.lt)
38 self.assertRaises(TypeError, operator.lt, 1j, 2j)
47 self.assertRaises(TypeError, operator.le)
48 self.assertRaises(TypeError, operator.le, 1j, 2j)
61 self.assertRaises(TypeError, operator.eq)
74 self.assertRaises(TypeError, operator.ne)
84 self.assertRaises(TypeError, operator.ge)
85 self.assertRaises(TypeError, operator.ge, 1j, 2j)
94 self.assertRaises(TypeError, operator.gt)
95 self.assertRaises(TypeError, operator.gt, 1j, 2j
    [all...]
test_unary.py 46 self.assertRaises(TypeError, eval, op + "'a'")
48 self.assertRaises(TypeError, eval, op + "u'a'")
50 self.assertRaises(TypeError, eval, "~2j")
51 self.assertRaises(TypeError, eval, "~2.0")
test_builtin.py 73 self.assertRaises(TypeError, __import__, 1, 2, 3, 4)
75 self.assertRaises(TypeError, __import__, 'sys', name='sys')
92 self.assertRaises(TypeError, abs, 'a')
97 self.assertRaises(TypeError, abs)
98 self.assertRaises(TypeError, abs, None)
109 self.assertRaises(TypeError, all, 10) # Non-iterable
110 self.assertRaises(TypeError, all) # No args
111 self.assertRaises(TypeError, all, [2, 4, 6], []) # Too many args
124 self.assertRaises(TypeError, any, 10) # Non-iterable
125 self.assertRaises(TypeError, any) # No arg
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_call.py 12 self.assertRaises(TypeError, {}.has_key)
19 self.assertRaises(TypeError, {}.has_key, 0, 1)
24 except TypeError:
35 except TypeError:
41 self.assertRaises(TypeError, {}.has_key, x=2)
44 self.assertRaises(TypeError, {}.has_key, x=2)
47 self.assertRaises(TypeError, {}.has_key, x=2, y=2)
53 self.assertRaises(TypeError, {}.keys, 0)
56 self.assertRaises(TypeError, {}.keys, 0, 1)
64 except TypeError
    [all...]
test_extcall.py 65 TypeError: e() got an unexpected keyword argument 'c'
70 TypeError: g() takes at least 1 argument (0 given)
75 TypeError: g() takes at least 1 argument (0 given)
80 TypeError: g() takes at least 1 argument (0 given)
96 TypeError: g() argument after * must be a sequence, not instance
105 TypeError: g() argument after * must be a sequence, not instance
155 TypeError: g() got multiple values for keyword argument 'x'
160 TypeError: f() keywords must be strings
165 TypeError: h() got an unexpected keyword argument 'e'
170 TypeError: h() argument after * must be a sequence, not functio
    [all...]
test_operator.py 37 self.assertRaises(TypeError, operator.lt)
38 self.assertRaises(TypeError, operator.lt, 1j, 2j)
47 self.assertRaises(TypeError, operator.le)
48 self.assertRaises(TypeError, operator.le, 1j, 2j)
61 self.assertRaises(TypeError, operator.eq)
74 self.assertRaises(TypeError, operator.ne)
84 self.assertRaises(TypeError, operator.ge)
85 self.assertRaises(TypeError, operator.ge, 1j, 2j)
94 self.assertRaises(TypeError, operator.gt)
95 self.assertRaises(TypeError, operator.gt, 1j, 2j
    [all...]
test_unary.py 46 self.assertRaises(TypeError, eval, op + "'a'")
48 self.assertRaises(TypeError, eval, op + "u'a'")
50 self.assertRaises(TypeError, eval, "~2j")
51 self.assertRaises(TypeError, eval, "~2.0")
test_builtin.py 73 self.assertRaises(TypeError, __import__, 1, 2, 3, 4)
75 self.assertRaises(TypeError, __import__, 'sys', name='sys')
92 self.assertRaises(TypeError, abs, 'a')
97 self.assertRaises(TypeError, abs)
98 self.assertRaises(TypeError, abs, None)
109 self.assertRaises(TypeError, all, 10) # Non-iterable
110 self.assertRaises(TypeError, all) # No args
111 self.assertRaises(TypeError, all, [2, 4, 6], []) # Too many args
124 self.assertRaises(TypeError, any, 10) # Non-iterable
125 self.assertRaises(TypeError, any) # No arg
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_delattr.py 9 self.assertRaises(TypeError,
13 self.assertRaises(TypeError,
17 self.assertRaises(TypeError,
test_parameters.py 64 self.assertRaises(TypeError, c_char_p.from_param, 42)
81 self.assertRaises(TypeError, c_wchar_p.from_param, 42)
103 self.assertRaises(TypeError, LPINT.from_param, pointer(c_long(42)))
104 self.assertRaises(TypeError, LPINT.from_param, pointer(c_uint(42)))
105 self.assertRaises(TypeError, LPINT.from_param, pointer(c_short(42)))
115 self.assertRaises(TypeError, LPINT.from_param, byref(c_short(22)))
117 self.assertRaises(TypeError, LPINT.from_param, byref(c_long(22)))
118 self.assertRaises(TypeError, LPINT.from_param, byref(c_uint(22)))
127 self.assertRaises(TypeError, LPLPINT.from_param, byref(pointer(c_short(22))))
129 self.assertRaises(TypeError, LPLPINT.from_param, byref(pointer(c_long(22)))
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_delattr.py 9 self.assertRaises(TypeError,
13 self.assertRaises(TypeError,
17 self.assertRaises(TypeError,
test_parameters.py 64 self.assertRaises(TypeError, c_char_p.from_param, 42)
81 self.assertRaises(TypeError, c_wchar_p.from_param, 42)
103 self.assertRaises(TypeError, LPINT.from_param, pointer(c_long(42)))
104 self.assertRaises(TypeError, LPINT.from_param, pointer(c_uint(42)))
105 self.assertRaises(TypeError, LPINT.from_param, pointer(c_short(42)))
115 self.assertRaises(TypeError, LPINT.from_param, byref(c_short(22)))
117 self.assertRaises(TypeError, LPINT.from_param, byref(c_long(22)))
118 self.assertRaises(TypeError, LPINT.from_param, byref(c_uint(22)))
127 self.assertRaises(TypeError, LPLPINT.from_param, byref(pointer(c_short(22))))
129 self.assertRaises(TypeError, LPLPINT.from_param, byref(pointer(c_long(22)))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/xml/
XMLSerializer.cpp 35 exceptionState.throwDOMException(TypeError, "Invalid node value.");
DOMParser.cpp 37 exceptionState.throwDOMException(TypeError, "Unsupported mime-type specified.");
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/Explorer/
Required_Suite.py 24 if _arguments: raise TypeError, 'No optional args expected'
44 if _arguments: raise TypeError, 'No optional args expected'
63 if _arguments: raise TypeError, 'No optional args expected'
64 if _no_object is not None: raise TypeError, 'No direct arg expected'
82 if _arguments: raise TypeError, 'No optional args expected'
83 if _no_object is not None: raise TypeError, 'No direct arg expected'
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/Netscape/
Required_suite.py 24 if _arguments: raise TypeError, 'No optional args expected'
44 if _arguments: raise TypeError, 'No optional args expected'
63 if _arguments: raise TypeError, 'No optional args expected'
64 if _no_object is not None: raise TypeError, 'No direct arg expected'
82 if _arguments: raise TypeError, 'No optional args expected'
83 if _no_object is not None: raise TypeError, 'No direct arg expected'
Mozilla_suite.py 23 if _arguments: raise TypeError, 'No optional args expected'
24 if _no_object is not None: raise TypeError, 'No direct arg expected'
43 if _arguments: raise TypeError, 'No optional args expected'
44 if _no_object is not None: raise TypeError, 'No direct arg expected'
63 if _arguments: raise TypeError, 'No optional args expected'
64 if _no_object is not None: raise TypeError, 'No direct arg expected'
109 if _arguments: raise TypeError, 'No optional args expected'
128 if _arguments: raise TypeError, 'No optional args expected'
129 if _no_object is not None: raise TypeError, 'No direct arg expected'
148 if _arguments: raise TypeError, 'No optional args expected
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/
parser.py 37 raise TypeError("Multiple values for keyword arg '_class'")
41 raise TypeError("Multiple values for keyword arg 'strict'")
44 raise TypeError('Too many arguments')
55 raise TypeError('Unexpected keyword arguments')
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/
parser.py 37 raise TypeError("Multiple values for keyword arg '_class'")
41 raise TypeError("Multiple values for keyword arg 'strict'")
44 raise TypeError('Too many arguments')
55 raise TypeError('Unexpected keyword arguments')
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/_builtinSuites/
builtin_Suite.py 20 if _arguments: raise TypeError, 'No optional args expected'
39 if _arguments: raise TypeError, 'No optional args expected'
40 if _no_object is not None: raise TypeError, 'No direct arg expected'
58 if _arguments: raise TypeError, 'No optional args expected'
59 if _no_object is not None: raise TypeError, 'No direct arg expected'
78 if _arguments: raise TypeError, 'No optional args expected'
103 if _no_object is not None: raise TypeError, 'No direct arg expected'
  /external/chromium_org/v8/test/mjsunit/harmony/
array-find.js 244 TypeError);
246 TypeError);
248 TypeError);
250 TypeError);
252 assertThrows('[].find(null)', TypeError);
253 assertThrows('[].find(undefined)', TypeError);
254 assertThrows('[].find(0)', TypeError);
255 assertThrows('[].find(true)', TypeError);
256 assertThrows('[].find(false)', TypeError);
257 assertThrows('[].find("")', TypeError);
    [all...]
array-findindex.js 244 TypeError);
246 TypeError);
248 TypeError);
250 TypeError);
252 assertThrows('[].findIndex(null)', TypeError);
253 assertThrows('[].findIndex(undefined)', TypeError);
254 assertThrows('[].findIndex(0)', TypeError);
255 assertThrows('[].findIndex(true)', TypeError);
256 assertThrows('[].findIndex(false)', TypeError);
257 assertThrows('[].findIndex("")', TypeError);
    [all...]
  /external/v8/test/mjsunit/
strict-mode.js 487 assertThrows(function() { delete_property(object); }, TypeError);
489 assertThrows(function() { delete_element(object, "1"); }, TypeError);
490 assertThrows(function() { delete_element(object, 1); }, TypeError);
492 assertThrows(function() { delete_element(object, "7"); }, TypeError);
493 assertThrows(function() { delete_element(object, 7); }, TypeError);
495 assertThrows(function() { delete_element(object, "3.14"); }, TypeError);
496 assertThrows(function() { delete_element(object, 3.14); }, TypeError);
770 TypeError);
781 TypeError);
794 assertThrows(function() { strict(frozen); }, TypeError);
    [all...]

Completed in 737 milliseconds

1 2 3 4 5 6 7 8 91011>>