/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-09-01 20:21:26 UTC
  • mfrom: (7067.13.16 python3-y)
  • Revision ID: breezy.the.bot@gmail.com-20180901202126-6r9fzlprpqcky4k5
Various fixes for tests on Python 3.

Merged from https://code.launchpad.net/~jelmer/brz/python3-y/+merge/353193

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