summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_mmap.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_mmap.py')
-rw-r--r--Lib/test/test_mmap.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py
index 44d28f1..73c1a15 100644
--- a/Lib/test/test_mmap.py
+++ b/Lib/test/test_mmap.py
@@ -105,14 +105,14 @@ def test_both():
pass
else:
# resize() is supported
- assert len(m) == 512, "len(m) is %d, but expecting 512" % (len(m),)
- # Check that we can no longer seek beyond the new size.
- try:
- m.seek(513,0)
- except ValueError:
- pass
- else:
- assert 0, 'Could seek beyond the new size'
+ assert len(m) == 512, "len(m) is %d, but expecting 512" % (len(m),)
+ # Check that we can no longer seek beyond the new size.
+ try:
+ m.seek(513,0)
+ except ValueError:
+ pass
+ else:
+ assert 0, 'Could seek beyond the new size'
m.close()
os.unlink("foo")