~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/textinv.py

Recover from ImportError when loading a registry.

This is necessary to avoid a dependency on testtools, because the --parallel
option to the selftest command requires bzrlib.tests.parallel_registry which
will try to initialize the tests package, causing an error without testtools:

ImportError: No module named testtools

Show diffs side-by-side

added added

removed removed

Lines of Context: