/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_patches.py

  • Committer: Jelmer Vernooij
  • Date: 2019-12-28 14:10:36 UTC
  • mto: This revision was merged to the branch mainline in revision 7431.
  • Revision ID: jelmer@jelmer.uk-20191228141036-hsqitjor9m5fsri1
Python3 compatibility.

Show diffs side-by-side

added added

removed removed

Lines of Context:
333
333
        self.build_tree_contents([('a', 'a\n')])
334
334
        tree.add('a')
335
335
        tree.commit('Add a')
336
 
        patch = parse_patch("""\
 
336
        patch = parse_patch(b"""\
337
337
--- a/a
338
338
+++ a/a
339
339
@@ -1 +1 @@
348
348
        self.build_tree_contents([('a', 'a\n')])
349
349
        tree.add('a')
350
350
        tree.commit('Add a')
351
 
        patch = parse_patch("""\
 
351
        patch = parse_patch(b"""\
352
352
--- a/a
353
353
+++ /dev/null
354
354
@@ -1 +0,0 @@
362
362
        self.build_tree_contents([('a', 'a\n')])
363
363
        tree.add('a')
364
364
        tree.commit('Add a')
365
 
        patch = parse_patch("""\
 
365
        patch = parse_patch(b"""\
366
366
--- /dev/null
367
367
+++ a/b
368
368
@@ -0,0 +1 @@