Lines Matching refs:isOdd
33 def isOdd(x):
1250 self.assertEqual(list(ifilterfalse(isEven, g(s))), filter(isOdd, g(s)))
1316 if not tgt and isOdd(elem): continue
1318 self.assertEqual(list(dropwhile(isOdd, g(s))), tgt)
1319 self.assertRaises(TypeError, dropwhile, isOdd, X(s))
1320 self.assertRaises(TypeError, list, dropwhile(isOdd, N(s)))
1321 self.assertRaises(ZeroDivisionError, list, dropwhile(isOdd, E(s)))