~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Patch Queue Manager
  • Date: 2011-12-05 14:53:57 UTC
  • mfrom: (6344.1.1 dev_2.4_integration)
  • Revision ID: pqm@pqm.ubuntu.com-20111205145357-aesrpb6b49pxzym8
(gz) Merge 2.4 into bzr.dev (Martin Packman)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1990
1990
 
1991
1991
        self.log('run bzr: %r', args)
1992
1992
        # FIXME: don't call into logging here
1993
 
        handler = logging.StreamHandler(stderr)
1994
 
        handler.setLevel(logging.INFO)
 
1993
        handler = trace.EncodedStreamHandler(stderr, errors="replace",
 
1994
            level=logging.INFO)
1995
1995
        logger = logging.getLogger('')
1996
1996
        logger.addHandler(handler)
1997
1997
        old_ui_factory = ui.ui_factory