/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: 2018-08-21 09:32:52 UTC
  • mfrom: (7065.3.15 python-bundle)
  • Revision ID: breezy.the.bot@gmail.com-20180821093252-dhir83sygqwzbv77
Fix some bundle-related tests on Python 3.

Merged from https://code.launchpad.net/~jelmer/brz/python-bundle/+merge/353123

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
 
114
114
    def test_decode_with_None(self):
115
115
        self.assertEqual(None, cache_utf8._utf8_decode_with_None(None))
116
 
        self.assertEqual(u'foo', cache_utf8._utf8_decode_with_None('foo'))
 
116
        self.assertEqual(u'foo', cache_utf8._utf8_decode_with_None(b'foo'))
117
117
        self.assertEqual(u'f\xb5',
118
 
                         cache_utf8._utf8_decode_with_None('f\xc2\xb5'))
 
118
                         cache_utf8._utf8_decode_with_None(b'f\xc2\xb5'))