/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 breezy/tests/test_diff.py

  • Committer: Jelmer Vernooij
  • Date: 2018-07-02 01:11:40 UTC
  • mfrom: (7023 work)
  • mto: This revision was merged to the branch mainline in revision 7025.
  • Revision ID: jelmer@jelmer.uk-20180702011140-toroicnrq9a5jstj
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1424
1424
    def test_execute(self):
1425
1425
        output = BytesIO()
1426
1426
        diff_obj = diff.DiffFromTool(['python', '-c',
1427
 
                                      'print "@old_path @new_path"'],
 
1427
                                      'print("@old_path @new_path")'],
1428
1428
                                     None, None, output)
1429
1429
        self.addCleanup(diff_obj.finish)
1430
1430
        diff_obj._execute('old', 'new')