/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_debug.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:
33
33
        # error output should contain a traceback; we used to look for code in
34
34
        # here but it may be missing if the source is not in sync with the
35
35
        # pyc file.
36
 
        self.assertContainsRe(err, b"Traceback \\(most recent call last\\)")
 
36
        self.assertContainsRe(err, "Traceback \\(most recent call last\\)")
37
37
 
38
38
    def test_dash_dlock(self):
39
39
        # With -Dlock, locking and unlocking is recorded into the log