diff options
Diffstat (limited to 'Lib/test/test_mmap.py')
-rw-r--r-- | Lib/test/test_mmap.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ def test_both(): # 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) |