Lines Matching refs:starmap
1164 self.assertEqual(list(starmap(operator.pow, zip(range(3), range(1,7)))),
1166 self.assertEqual(take(3, starmap(operator.pow, zip(count(), count(1)))),
1168 self.assertEqual(list(starmap(operator.pow, [])), [])
1169 self.assertEqual(list(starmap(operator.pow, [iter([4,5])])), [4**5])
1170 self.assertRaises(TypeError, list, starmap(operator.pow, [None]))
1171 self.assertRaises(TypeError, starmap)
1172 self.assertRaises(TypeError, starmap, operator.pow, [(4,5)], 'extra')
1173 self.assertRaises(TypeError, next, starmap(10, [(4,5)]))
1174 self.assertRaises(ValueError, next, starmap(errfunc, [(4,5)]))
1175 self.assertRaises(TypeError, next, starmap(onearg, [(4,5)]))
1180 c = starmap(operator.pow, zip(range(3), range(1,7)))
1183 c = starmap(operator.pow, zip(range(3), range(1,7)))
1187 c = starmap(operator.pow, zip(range(3), range(1,7)))
1498 for f in (filter, filterfalse, map, takewhile, dropwhile, starmap):
1605 self.assertEqual(list(starmap(pow, [(2,5), (3,2), (10,3)])),
1749 self.makecycle(starmap(lambda *t: t, [(a,a)]*2), a)
1947 self.assertEqual(list(starmap(operator.pow, g(ss))),
1949 self.assertRaises(TypeError, starmap, operator.pow, X(ss))
1950 self.assertRaises(TypeError, starmap, operator.pow, N(ss))
1951 self.assertRaises(ZeroDivisionError, list, starmap(operator.pow, E(ss)))
2095 starmap, islice, takewhile, dropwhile, cycle, compress):