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

  • Committer: Jelmer Vernooij
  • Date: 2020-02-07 02:14:30 UTC
  • mto: This revision was merged to the branch mainline in revision 7492.
  • Revision ID: jelmer@jelmer.uk-20200207021430-m49iq3x4x8xlib6x
Drop python2 support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    multiparent,
22
22
    tests,
23
23
    )
24
 
from ..sixish import int2byte
25
24
 
26
25
 
27
26
LINES_1 = b"a\nb\nc\nd\ne\n".splitlines(True)
184
183
 
185
184
    def add_version(self, vf, text, version_id, parent_ids):
186
185
        vf.add_version(
187
 
            [(int2byte(t) + b'\n') for t in bytearray(text)],
 
186
            [(bytes([t]) + b'\n') for t in bytearray(text)],
188
187
            version_id, parent_ids)
189
188
 
190
189
    def make_vf(self):