Lines Matching refs:list
50 self.assertEqual(list(u), [1, 2])
59 self.assertEqual(list(u), [1, 2])
69 self.assertEqual(list(u), [1, 2])
102 self.assertEqual(list(tuple(f())), list(range(1000)))
171 hashes = list(map(hash, xs))
195 tryone("range(100) by 3", list(product(range(100), repeat=3)),
201 cands = list(range(-10, -1)) + list(range(9))
206 tryone("-10 .. 8 by 4", list(product(cands, repeat=4)),
217 tryone("0..99 << 60 by 3", list(product(L, repeat=3)),
222 tryone("[-3, 3] by 18", list(product([-3, 3], repeat=18)),
227 tryone("[0, 0.5] by 18", list(product([0, 0.5], repeat=18)),
240 list(product("abcdefghijklmnopqrstuvwxyz", repeat=4)),
249 base = list(range(N))
250 xp = list(product(base, repeat=2))
251 inps = base + list(product(base, xp)) + \
252 list(product(xp, base)) + xp + list(zip(base))
263 L2 = list(product(A, repeat=2))
264 L3 = L2 + list(product(A, repeat=3))
265 L4 = L3 + list(product(A, repeat=4))
266 # T = list of testcases. These consist of all (possibly nested
364 # Check the repr of large list objects