~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Martin Pool
  • Date: 2007-09-18 05:35:31 UTC
  • mto: (2830.2.10 test-traceback)
  • mto: This revision was merged to the branch mainline in revision 2874.
  • Revision ID: mbp@sourcefrog.net-20070918053531-hwrmyg05y3az3xcx
If TestCase.run_bzr hits an internal exception, don't catch it but rather propagate up into the test suite

Show diffs side-by-side

added added

removed removed

Lines of Context:
1351
1351
        try:
1352
1352
            result = self.apply_redirected(ui.ui_factory.stdin,
1353
1353
                stdout, stderr,
1354
 
                bzrlib.commands.run_bzr_catch_errors,
 
1354
                bzrlib.commands.run_bzr_catch_user_errors,
1355
1355
                args)
1356
1356
        finally:
1357
1357
            logger.removeHandler(handler)