/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/__init__.py

  • Committer: Andrew Bennetts
  • Date: 2009-01-07 10:04:43 UTC
  • mto: This revision was merged to the branch mainline in revision 3932.
  • Revision ID: andrew.bennetts@canonical.com-20090107100443-xke5btym3ux9pf10
Fix test_plugins to restore the original value of bzrlib.plugin._loaded.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1410
1410
        stdout.encoding = encoding
1411
1411
        stderr.encoding = encoding
1412
1412
 
1413
 
        if bzrlib.plugins.__path__ == []:
1414
 
            # "bzr selftest" was run with --no-plugins, so run the subprocess
1415
 
            # with --no-plugins as well.
1416
 
            args = ['--no-plugins'] + args
1417
1413
        self.log('run bzr: %r', args)
1418
1414
        # FIXME: don't call into logging here
1419
1415
        handler = logging.StreamHandler(stderr)