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_mmap.py b/Lib/test/test_mmap.py
index 3e2d89f..d07e4c6 100644
--- a/Lib/test/test_mmap.py
+++ b/Lib/test/test_mmap.py
@@ -46,7 +46,7 @@
# Test doing a regular expression match in an mmap'ed file
match=re.search('[A-Za-z]+', m)
- if match == None:
+ if match is None:
print ' ERROR: regex match on mmap failed!'
else:
start, end = match.span(0)