def run(self): """Run test""" it = iterreduce(self._input_source, self._callable) for output in it: exp_out = self._output_source.next() assert output == exp_out, \ "Output {0} did not match expected output: {1}".format(\ output, exp_out)
def run(self): """Run test""" assert_iters_equal(self._output_source, iterreduce(self._input_source, self._callable))