/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: 2018-08-21 19:28:52 UTC
  • mfrom: (7078 work)
  • mto: This revision was merged to the branch mainline in revision 7101.
  • Revision ID: jelmer@jelmer.uk-20180821192852-ipy6m8q95bbst223
Merge trunk.

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'))