def testCountExceedsLength(self):
     """Tests that a skip number higher than the length of the enumerable
     returns an empty iterator."""
     res = list(it.skip(range(5), 20))
     self.assertFalse(res)
 def testBehavesSameAsSlice(self):
     enum = list(range(10))
     res = list(it.skip(enum, 5))
     sliced = enum[5:]
     self.assertEqual(res, sliced)
 def testSkips(self):
     res = list(it.skip(range(20), 10))
     self.assertEqual(list(range(10, 20)), res)