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_binhex.py b/Lib/test/test_binhex.py
index 68012f8..4dfe14e 100755
--- a/Lib/test/test_binhex.py
+++ b/Lib/test/test_binhex.py
@@ -32,8 +32,8 @@
f = open(fname1, 'r')
finish = f.readline()
- if start <> finish:
- print 'Error: binhex <> hexbin'
+ if start != finish:
+ print 'Error: binhex != hexbin'
elif verbose:
print 'binhex == hexbin'