mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Fix inconsistent use of tab/space in indentation.
This commit is contained in:
parent
071864acb2
commit
a701597138
1 changed files with 8 additions and 8 deletions
|
@ -105,14 +105,14 @@ def test_both():
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
# resize() is supported
|
# resize() is supported
|
||||||
assert len(m) == 512, "len(m) is %d, but expecting 512" % (len(m),)
|
assert len(m) == 512, "len(m) is %d, but expecting 512" % (len(m),)
|
||||||
# Check that we can no longer seek beyond the new size.
|
# Check that we can no longer seek beyond the new size.
|
||||||
try:
|
try:
|
||||||
m.seek(513,0)
|
m.seek(513,0)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
assert 0, 'Could seek beyond the new size'
|
assert 0, 'Could seek beyond the new size'
|
||||||
|
|
||||||
m.close()
|
m.close()
|
||||||
os.unlink("foo")
|
os.unlink("foo")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue