Update the code to better reflect recommended style:
Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
diff --git a/Lib/test/test_nis.py b/Lib/test/test_nis.py
index f711de0..e1670d1 100644
--- a/Lib/test/test_nis.py
+++ b/Lib/test/test_nis.py
@@ -21,7 +21,7 @@
print ' ', k, v
if not k:
continue
- if nis.match(k, nismap) <> v:
+ if nis.match(k, nismap) != v:
print "NIS match failed for key `%s' in map `%s'" % (k, nismap)
else:
# just test the one key, otherwise this test could take a