/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-09-11 03:12:02 UTC
  • mfrom: (7101 work)
  • mto: This revision was merged to the branch mainline in revision 7102.
  • Revision ID: jelmer@jelmer.uk-20180911031202-p2wpqy0xzx7wjmid
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
        self.assertIs(xp, yp)
94
94
 
95
95
    def test_cached_ascii(self):
96
 
        x = '%s %s' % ('simple', 'text')
97
 
        y = '%s %s' % ('simple', 'text')
98
 
        self.assertFalse(x is y)
 
96
        x = b'%s %s' % (b'simple', b'text')
 
97
        y = b'%s %s' % (b'simple', b'text')
 
98
        self.assertIsNot(x, y)
99
99
        xp = cache_utf8.get_cached_ascii(x)
100
100
        yp = cache_utf8.get_cached_ascii(y)
101
101