/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_struct.py | 296 class Indexable(object):
338 for obj in (Indexable(0), Indexable(10), Indexable(17),
339 Indexable(42), Indexable(100), Indexable(127)):
347 for obj in (Indexable('a'), Indexable(u'b'), Indexable(None), [all...] |
test_bytes.py | 34 class Indexable:
70 b = self.type2test([Indexable(), Indexable(1), Indexable(254),
71 Indexable(255)])
73 self.assertRaises(ValueError, self.type2test, [Indexable(-1)])
74 self.assertRaises(ValueError, self.type2test, [Indexable(256)])
579 b[0] = Indexable(10)
597 b[0] = Indexable(-1)
734 a.extend([Indexable(ord('a'))]) [all...] |
/external/python/cpython2/Lib/test/ |
test_struct.py | 297 class Indexable(object): 339 for obj in (Indexable(0), Indexable(10), Indexable(17), 340 Indexable(42), Indexable(100), Indexable(127)): 348 for obj in (Indexable('a'), Indexable(u'b'), Indexable(None) [all...] |
test_bytes.py | 32 class Indexable: 68 b = self.type2test([Indexable(), Indexable(1), Indexable(254), 69 Indexable(255)]) 71 self.assertRaises(ValueError, self.type2test, [Indexable(-1)]) 72 self.assertRaises(ValueError, self.type2test, [Indexable(256)]) 537 b[0] = Indexable(10) 555 b[0] = Indexable(-1) 729 a.extend([Indexable(ord('a'))] [all...] |
/external/python/cpython3/Lib/test/ |
test_struct.py | 269 class Indexable(object): 302 for obj in (Indexable(0), Indexable(10), Indexable(17), 303 Indexable(42), Indexable(100), Indexable(127)): 311 for obj in (Indexable(b'a'), Indexable('b'), Indexable(None) [all...] |
test_bytes.py | 36 class Indexable: 134 b = self.type2test([Indexable(), Indexable(1), Indexable(254), 135 Indexable(255)]) 137 self.assertRaises(ValueError, self.type2test, [Indexable(-1)]) 138 self.assertRaises(ValueError, self.type2test, [Indexable(256)]) [all...] |