changeset 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 88887054d277
children 3b8f2750efcf
files tests/hghave
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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