/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: Jelmer Vernooij
  • Date: 2020-07-05 12:50:01 UTC
  • mfrom: (7490.40.46 work)
  • mto: (7490.40.48 work)
  • mto: This revision was merged to the branch mainline in revision 7519.
  • Revision ID: jelmer@jelmer.uk-20200705125001-7s3vo0p55szbbws7
Merge lp:brz/3.1.

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
22
23
from . import TestCase
23
24
 
24
25
 
108
109
        # objects.
109
110
        uni_x = cache_utf8.decode(x)
110
111
        self.assertEqual(u'simple text', uni_x)
111
 
        self.assertIsInstance(uni_x, str)
 
112
        self.assertIsInstance(uni_x, text_type)
112
113
 
113
114
        utf8_x = cache_utf8.encode(uni_x)
114
115
        self.assertIs(utf8_x, x)