/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 bzrlib/tests/blackbox/test_non_ascii.py

  • Committer: Martin
  • Date: 2017-05-21 18:14:47 UTC
  • mto: (6621.2.21 py3)
  • mto: This revision was merged to the branch mainline in revision 6624.
  • Revision ID: gzlist@googlemail.com-20170521181447-qg1fqw5xi3kh5tgs
Refactor bzrlib.ui to be based on unicode streams

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
        if encoding is None:
58
58
            encoding = osutils.get_user_encoding()
59
59
        try:
60
 
            out = self.run_bzr(args,
61
 
                               output_encoding=encoding, encoding=encoding,
 
60
            out = self.run_bzr(args, encoding=encoding,
62
61
                               retcode=retcode, working_dir=working_dir)[0]
63
62
            return out.decode(encoding)
64
63
        except UnicodeError as e: