/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/per_workingtree/test_commit.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-13 00:34:53 UTC
  • mfrom: (7027.3.8 python3-n)
  • Revision ID: breezy.the.bot@gmail.com-20180713003453-3wofrh7brng5jz3l
Add some more bees; support writing both bytes and unicode strings in build_tree_contents.

Merged from https://code.launchpad.net/~jelmer/brz/python3-n/+merge/349091

Show diffs side-by-side

added added

removed removed

Lines of Context:
237
237
        except errors.UpgradeRequired:
238
238
            # older format.
239
239
            return
240
 
        master.controldir.transport.put_bytes('branch-format', 'garbage')
 
240
        master.controldir.transport.put_bytes('branch-format', b'garbage')
241
241
        del master
242
242
        # check its corrupted.
243
243
        self.assertRaises(errors.UnknownFormatError,