With current bzrtools, "bzr selftest" causes this error if pybaz is not installed: File "/home/andrew/.bazaar/plugins/bzrtools/__init__.py", line 629, in test_suite except NoPyBaz: NameError: global name 'NoPyBaz' is not defined There seems to be a missing import. -Andrew.