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

  • Committer: Jelmer Vernooij
  • Date: 2020-05-06 02:13:25 UTC
  • mfrom: (7490.7.21 work)
  • mto: This revision was merged to the branch mainline in revision 7501.
  • Revision ID: jelmer@jelmer.uk-20200506021325-awbmmqu1zyorz7sj
Merge 3.1 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
            # This test does not apply, because this lockable refuses
120
120
            # tokens.
121
121
            return
122
 
        different_token = token + 'xxx'
 
122
        different_token = token + b'xxx'
123
123
        # Re-using the same lockable instance with a different token will
124
124
        # raise TokenMismatch.
125
125
        self.assertRaises(errors.TokenMismatch,