Lines Matching refs:starmap
1183 self.assertEqual(list(starmap(operator.pow, zip(range(3), range(1,7)))),
1185 self.assertEqual(take(3, starmap(operator.pow, zip(count(), count(1)))),
1187 self.assertEqual(list(starmap(operator.pow, [])), [])
1188 self.assertEqual(list(starmap(operator.pow, [iter([4,5])])), [4**5])
1189 self.assertRaises(TypeError, list, starmap(operator.pow, [None]))
1190 self.assertRaises(TypeError, starmap)
1191 self.assertRaises(TypeError, starmap, operator.pow, [(4,5)], 'extra')
1192 self.assertRaises(TypeError, next, starmap(10, [(4,5)]))
1193 self.assertRaises(ValueError, next, starmap(errfunc, [(4,5)]))
1194 self.assertRaises(TypeError, next, starmap(onearg, [(4,5)]))
1199 c = starmap(operator.pow, zip(range(3), range(1,7)))
1202 c = starmap(operator.pow, zip(range(3), range(1,7)))
1206 c = starmap(operator.pow, zip(range(3), range(1,7)))
1553 for f in (filter, filterfalse, map, takewhile, dropwhile, starmap):
1660 self.assertEqual(list(starmap(pow, [(2,5), (3,2), (10,3)])),
1804 self.makecycle(starmap(lambda *t: t, [(a,a)]*2), a)
2002 self.assertEqual(list(starmap(operator.pow, g(ss))),
2004 self.assertRaises(TypeError, starmap, operator.pow, X(ss))
2005 self.assertRaises(TypeError, starmap, operator.pow, N(ss))
2006 self.assertRaises(ZeroDivisionError, list, starmap(operator.pow, E(ss)))
2151 starmap, islice, takewhile, dropwhile, cycle, compress):