/external/python/cpython2/Lib/test/ |
test_set.py | 46 self.s = self.thetype(word) 50 self.assertRaises(TypeError, self.thetype, [], 2) 57 self.assertRaises(PassThru, self.thetype, check_pass_thru()) 58 self.assertRaises(TypeError, self.thetype, [[]]) 67 s = self.thetype([frozenset(self.letters)]) 68 self.assertIn(self.thetype(self.letters), s) 74 self.assertEqual(self.s, self.thetype(self.word)) 75 self.assertEqual(type(u), self.thetype) 79 self.assertEqual(self.thetype('abcba').union(C('cdc')), set('abcd')) 80 self.assertEqual(self.thetype('abcba').union(C('efgfe')), set('abcefg') 347 thetype = set variable in class:TestSet 591 thetype = SetSubclass variable in class:TestSetSubclass 604 thetype = frozenset variable in class:TestFrozenSet 669 thetype = FrozenSetSubclass variable in class:TestFrozenSetSubclass [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_set.py | 46 self.s = self.thetype(word)
50 self.assertRaises(TypeError, self.thetype, [], 2)
57 self.assertRaises(PassThru, self.thetype, check_pass_thru())
58 self.assertRaises(TypeError, self.thetype, [[]])
67 s = self.thetype([frozenset(self.letters)])
68 self.assertIn(self.thetype(self.letters), s)
74 self.assertEqual(self.s, self.thetype(self.word))
75 self.assertEqual(type(u), self.thetype)
79 self.assertEqual(self.thetype('abcba').union(C('cdc')), set('abcd'))
80 self.assertEqual(self.thetype('abcba').union(C('efgfe')), set('abcefg')) 344 thetype = set variable in class:TestSet 573 thetype = SetSubclass variable in class:TestSetSubclass 586 thetype = frozenset variable in class:TestFrozenSet 651 thetype = FrozenSetSubclass variable in class:TestFrozenSetSubclass [all...] |
test_functools.py | 30 thetype = functools.partial
variable in class:TestPartial 33 p = self.thetype(capture, 1, 2, a=10, b=20)
36 p = self.thetype(map, lambda x: x*10)
40 p = self.thetype(capture, 1, 2, a=10, b=20)
46 if not isinstance(self.thetype, type):
52 p = self.thetype(hex)
61 self.assertRaises(TypeError, self.thetype) # need at least a func arg
63 self.thetype(2)()
74 p = self.thetype(func, a=5)
83 p = self.thetype(capture) 159 thetype = PartialSubclass variable in class:TestPartialSubclass 163 thetype = PythonPartial variable in class:TestPythonPartial [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_set.py | 46 self.s = self.thetype(word) 50 self.assertRaises(TypeError, self.thetype, [], 2) 57 self.assertRaises(PassThru, self.thetype, check_pass_thru()) 58 self.assertRaises(TypeError, self.thetype, [[]]) 67 s = self.thetype([frozenset(self.letters)]) 68 self.assertIn(self.thetype(self.letters), s) 74 self.assertEqual(self.s, self.thetype(self.word)) 75 self.assertEqual(type(u), self.thetype) 79 self.assertEqual(self.thetype('abcba').union(C('cdc')), set('abcd')) 80 self.assertEqual(self.thetype('abcba').union(C('efgfe')), set('abcefg') 344 thetype = set variable in class:TestSet 573 thetype = SetSubclass variable in class:TestSetSubclass 586 thetype = frozenset variable in class:TestFrozenSet 651 thetype = FrozenSetSubclass variable in class:TestFrozenSetSubclass [all...] |
test_functools.py | 30 thetype = functools.partial variable in class:TestPartial 33 p = self.thetype(capture, 1, 2, a=10, b=20) 36 p = self.thetype(map, lambda x: x*10) 40 p = self.thetype(capture, 1, 2, a=10, b=20) 46 if not isinstance(self.thetype, type): 52 p = self.thetype(hex) 61 self.assertRaises(TypeError, self.thetype) # need at least a func arg 63 self.thetype(2)() 74 p = self.thetype(func, a=5) 83 p = self.thetype(capture 176 thetype = PartialSubclass variable in class:TestPartialSubclass 180 thetype = PythonPartial variable in class:TestPythonPartial [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_set.py | 46 self.s = self.thetype(word) 50 self.assertRaises(TypeError, self.thetype, [], 2) 57 self.assertRaises(PassThru, self.thetype, check_pass_thru()) 58 self.assertRaises(TypeError, self.thetype, [[]]) 67 s = self.thetype([frozenset(self.letters)]) 68 self.assertIn(self.thetype(self.letters), s) 74 self.assertEqual(self.s, self.thetype(self.word)) 75 self.assertEqual(type(u), self.thetype) 79 self.assertEqual(self.thetype('abcba').union(C('cdc')), set('abcd')) 80 self.assertEqual(self.thetype('abcba').union(C('efgfe')), set('abcefg') 344 thetype = set variable in class:TestSet 573 thetype = SetSubclass variable in class:TestSetSubclass 586 thetype = frozenset variable in class:TestFrozenSet 651 thetype = FrozenSetSubclass variable in class:TestFrozenSetSubclass [all...] |
test_functools.py | 30 thetype = functools.partial variable in class:TestPartial 33 p = self.thetype(capture, 1, 2, a=10, b=20) 36 p = self.thetype(map, lambda x: x*10) 40 p = self.thetype(capture, 1, 2, a=10, b=20) 46 if not isinstance(self.thetype, type): 52 p = self.thetype(hex) 61 self.assertRaises(TypeError, self.thetype) # need at least a func arg 63 self.thetype(2)() 74 p = self.thetype(func, a=5) 83 p = self.thetype(capture 176 thetype = PartialSubclass variable in class:TestPartialSubclass 180 thetype = PythonPartial variable in class:TestPythonPartial [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_set.py | 46 self.s = self.thetype(word) 50 self.assertRaises(TypeError, self.thetype, [], 2) 57 self.assertRaises(PassThru, self.thetype, check_pass_thru()) 58 self.assertRaises(TypeError, self.thetype, [[]]) 67 s = self.thetype([frozenset(self.letters)]) 68 self.assertIn(self.thetype(self.letters), s) 74 self.assertEqual(self.s, self.thetype(self.word)) 75 self.assertEqual(type(u), self.thetype) 79 self.assertEqual(self.thetype('abcba').union(C('cdc')), set('abcd')) 80 self.assertEqual(self.thetype('abcba').union(C('efgfe')), set('abcefg') 344 thetype = set variable in class:TestSet 573 thetype = SetSubclass variable in class:TestSetSubclass 586 thetype = frozenset variable in class:TestFrozenSet 651 thetype = FrozenSetSubclass variable in class:TestFrozenSetSubclass [all...] |
test_functools.py | 30 thetype = functools.partial variable in class:TestPartial 33 p = self.thetype(capture, 1, 2, a=10, b=20) 36 p = self.thetype(map, lambda x: x*10) 40 p = self.thetype(capture, 1, 2, a=10, b=20) 46 if not isinstance(self.thetype, type): 52 p = self.thetype(hex) 61 self.assertRaises(TypeError, self.thetype) # need at least a func arg 63 self.thetype(2)() 74 p = self.thetype(func, a=5) 83 p = self.thetype(capture 176 thetype = PartialSubclass variable in class:TestPartialSubclass 180 thetype = PythonPartial variable in class:TestPythonPartial [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_set.py | 46 self.s = self.thetype(word) 50 self.assertRaises(TypeError, self.thetype, [], 2) 57 self.assertRaises(PassThru, self.thetype, check_pass_thru()) 58 self.assertRaises(TypeError, self.thetype, [[]]) 67 s = self.thetype([frozenset(self.letters)]) 68 self.assertIn(self.thetype(self.letters), s) 74 self.assertEqual(self.s, self.thetype(self.word)) 75 self.assertEqual(type(u), self.thetype) 79 self.assertEqual(self.thetype('abcba').union(C('cdc')), set('abcd')) 80 self.assertEqual(self.thetype('abcba').union(C('efgfe')), set('abcefg') 344 thetype = set variable in class:TestSet 573 thetype = SetSubclass variable in class:TestSetSubclass 586 thetype = frozenset variable in class:TestFrozenSet 651 thetype = FrozenSetSubclass variable in class:TestFrozenSetSubclass [all...] |
test_functools.py | 30 thetype = functools.partial variable in class:TestPartial 33 p = self.thetype(capture, 1, 2, a=10, b=20) 36 p = self.thetype(map, lambda x: x*10) 40 p = self.thetype(capture, 1, 2, a=10, b=20) 46 if not isinstance(self.thetype, type): 52 p = self.thetype(hex) 61 self.assertRaises(TypeError, self.thetype) # need at least a func arg 63 self.thetype(2)() 74 p = self.thetype(func, a=5) 83 p = self.thetype(capture 176 thetype = PartialSubclass variable in class:TestPartialSubclass 180 thetype = PythonPartial variable in class:TestPythonPartial [all...] |