changeset 16684:e617876fe82d

cleanup: "x != None" -> "x is not None"
author Brodie Rao <brodie@sf.io>
date Sat, 12 May 2012 15:56:23 +0200
parents 525fdb738975
children 43d55088415a
files tests/hghave
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/hghave	Sat May 12 15:54:54 2012 +0200
+++ b/tests/hghave	Sat May 12 15:56:23 2012 +0200
@@ -31,14 +31,14 @@
 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