# HG changeset patch # User Brodie Rao # Date 2012-05-12 13:56:23 # Node ID e617876fe82d83ca18933fb3dd7cd7c0b60d92c0 # Parent 525fdb7389757cdb7dbbac1ef865d79dc0ea789c cleanup: "x != None" -> "x is not None" diff --git a/tests/hghave b/tests/hghave --- a/tests/hghave +++ b/tests/hghave @@ -31,14 +31,14 @@ def has_baz(): def has_bzr(): try: import bzrlib - return bzrlib.__doc__ != None + return bzrlib.__doc__ is not None except ImportError: return False def has_bzr114(): try: import bzrlib - return (bzrlib.__doc__ != None + return (bzrlib.__doc__ is not None and bzrlib.version_info[:2] >= (1, 14)) except ImportError: return False