def test_padnone(self): it = iters.padnone([10, 11]) self.assertEqual(10, next(it)) self.assertEqual(11, next(it)) self.assertEqual(None, next(it)) self.assertEqual(None, next(it))
def test_padnone(self): it = iters.padnone([10,11]) self.assertEqual(10, next(it)) self.assertEqual(11, next(it)) self.assertEqual(None, next(it)) self.assertEqual(None, next(it))