/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_diff.py

Use osutils.pumpfile so we don't have to buffer everything in ram

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
        output = TemporaryFile()
42
42
    try:
43
43
        external_diff('old', old, 'new', new, output, diff_opts=['-u'])
44
 
    except errors.NoDiff:
 
44
    except NoDiff:
45
45
        raise TestSkipped('external "diff" not present to test')
46
46
    output.seek(0, 0)
47
47
    lines = output.readlines()