~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_cache_utf8.py

(John Arbash Meinel) Update dirstate._iter_changes to return unicode for all paths (bug #92608)

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
        self.assertIs(utf8_x, x)
112
112
 
113
113
    def test_decode_with_None(self):
114
 
        self.assertEqual((None, 0), cache_utf8._utf8_decode_with_None(None))
 
114
        self.assertEqual(None, cache_utf8._utf8_decode_with_None(None))
 
115
        self.assertEqual(u'foo', cache_utf8._utf8_decode_with_None('foo'))
 
116
        self.assertEqual(u'f\xb5',
 
117
                         cache_utf8._utf8_decode_with_None('f\xc2\xb5'))