def test_zip(self): lst = [builtins.range(10), builtins.range(10), builtins.range(10)] actual = [zip(*lst), lzip(*lst)], expected = list(builtins.zip(*lst)), lengths = 10, self.check_result(actual, expected, lengths)
def test_zip(self): lst = [builtins.range(10), builtins.range(10), builtins.range(10)] actual = [zip(*lst), lzip(*lst)], expected = list(builtins.zip(*lst)), lengths = 10, self.check_result(actual, expected, lengths)
def test_lzip(self): lst = [builtins.range(10), builtins.range(10), builtins.range(10)] results = lzip(*lst), expecteds = list(builtins.zip(*lst)), lengths = 10, self.check_results(results, expecteds, lengths)