diff tests/hghave @ 7773:607de5bd3578

test suite: saver check if bzr is installed Test if bzrlib.__doc__ is not empty. Ignores an empty lib.
author Simon Heimberg <simohe@besonet.ch>
date Sun, 08 Feb 2009 13:46:04 +0100
parents dbc40381620e
children 11efa41037e2
line wrap: on
line diff
--- a/tests/hghave	Tue Feb 10 13:26:00 2009 -0600
+++ b/tests/hghave	Sun Feb 08 13:46:04 2009 +0100
@@ -27,7 +27,7 @@
 def has_bzr():
     try:
         import bzrlib
-        return True
+        return bzrlib.__doc__ != None
     except ImportError:
         return False