On Sat, Jul 24, 2010 at 06:46:11PM +0530, Ramkumar Ramachandra wrote:
> Hi,
> 
> This patch is not intended for inclusion, but I hope it conveys the
> idea- I want display_lines() to display a diff instead of the full
> actual and expected outputs.

That would be nice indeed, but ...

> +  exit_code, stdout_output, stderr_output = \
> +      svntest.main.run_command("diff", 1, 0, '-a', '-u', \
> +                                 actual_file.name, expected_file.name)
> +  print "".join(stdout_output)

... this won't work on windows.

We'll need a utility function in our test suite that prints diffs.

>  def compare_and_display_lines(message, label, expected, actual,
>                                raisable=None):

Reply via email to