~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Martin Pool
  • Date: 2010-02-02 23:02:18 UTC
  • mfrom: (4634.128.21 apport)
  • mto: This revision was merged to the branch mainline in revision 5002.
  • Revision ID: mbp@sourcefrog.net-20100202230218-waoht8l49b3bad2o
Send crash reports through apport, rather than just dumping files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1540
1540
            'ftp_proxy': None,
1541
1541
            'FTP_PROXY': None,
1542
1542
            'BZR_REMOTE_PATH': None,
 
1543
            # Generally speaking, we don't want apport reporting on crashes in
 
1544
            # the test envirnoment unless we're specifically testing apport,
 
1545
            # so that it doesn't leak into the real system environment.  We
 
1546
            # use an env var so it propagates to subprocesses.
 
1547
            'APPORT_DISABLE': '1',
1543
1548
        }
1544
1549
        self.__old_env = {}
1545
1550
        self.addCleanup(self._restoreEnvironment)