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

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-02-14 03:16:54 UTC
  • mfrom: (7479.2.3 no-more-python2)
  • Revision ID: breezy.the.bot@gmail.com-20200214031654-bp1xtv2jr9nmhto3
Drop python2 support.

Merged from https://code.launchpad.net/~jelmer/brz/no-more-python2/+merge/378694

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
from .. import (
20
20
    cache_utf8,
21
21
    )
22
 
from ..sixish import text_type
23
22
from . import TestCase
24
23
 
25
24
 
109
108
        # objects.
110
109
        uni_x = cache_utf8.decode(x)
111
110
        self.assertEqual(u'simple text', uni_x)
112
 
        self.assertIsInstance(uni_x, text_type)
 
111
        self.assertIsInstance(uni_x, str)
113
112
 
114
113
        utf8_x = cache_utf8.encode(uni_x)
115
114
        self.assertIs(utf8_x, x)