Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a701597

Browse files
committed
Fix inconsistent use of tab/space in indentation.
1 parent 071864a commit a701597

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Lib/test/test_mmap.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,14 @@ def test_both():
105105
pass
106106
else:
107107
# resize() is supported
108-
assert len(m) == 512, "len(m) is %d, but expecting 512" % (len(m),)
109-
# Check that we can no longer seek beyond the new size.
110-
try:
111-
m.seek(513,0)
112-
except ValueError:
113-
pass
114-
else:
115-
assert 0, 'Could seek beyond the new size'
108+
assert len(m) == 512, "len(m) is %d, but expecting 512" % (len(m),)
109+
# Check that we can no longer seek beyond the new size.
110+
try:
111+
m.seek(513,0)
112+
except ValueError:
113+
pass
114+
else:
115+
assert 0, 'Could seek beyond the new size'
116116

117117
m.close()
118118
os.unlink("foo")

0 commit comments

Comments
 (0)