/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_branch/test_branch.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:
40
40
    branch as _mod_bzrbranch,
41
41
    remote,
42
42
    )
43
 
from breezy.sixish import (
44
 
    text_type,
45
 
    )
46
43
from breezy.tests import (
47
44
    per_branch,
48
45
    )
292
289
        branch = self.make_branch('bzr.dev')
293
290
        # An implicit nick name is set; what it is exactly depends on the
294
291
        # format.
295
 
        self.assertIsInstance(branch.nick, text_type)
 
292
        self.assertIsInstance(branch.nick, str)
296
293
        # Set the branch nick explicitly.
297
294
        branch.nick = u"Aaron's branch"
298
295
        # Because the nick has been set explicitly, the nick is now always