/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/blackbox/test_revision_history.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-14 19:47:11 UTC
  • mfrom: (7027.4.12 python3-blackbox)
  • Revision ID: breezy.the.bot@gmail.com-20180714194711-h73vd0gzphiab6vf
Change run_bzr to use StringIOWithEncoding for stderr and stdout on python 3.

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    def _check_revision_history(self, location='', working_dir=None):
41
41
        rh = self.run_bzr(['revision-history', location],
42
42
                          working_dir=working_dir)[0]
43
 
        self.assertEqual(rh, b'revision_1\nrevision_2\nrevision_3\n')
 
43
        self.assertEqual(rh, 'revision_1\nrevision_2\nrevision_3\n')
44
44
 
45
45
    def test_revision_history(self):
46
46
        """No location"""