mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
fixed inconsistent use of tab and spaces
This commit is contained in:
parent
d3cf692c38
commit
7a11671e8b
1 changed files with 3 additions and 3 deletions
|
@ -69,7 +69,7 @@ def test_both():
|
|||
m.seek(0,2)
|
||||
print ' Seek to last byte'
|
||||
assert m.tell() == len(m)
|
||||
|
||||
|
||||
print ' Try to seek to negative position...'
|
||||
try:
|
||||
m.seek(-1)
|
||||
|
@ -97,14 +97,14 @@ def test_both():
|
|||
# Try resizing map
|
||||
print ' Attempting resize()'
|
||||
try:
|
||||
m.resize( 512 )
|
||||
m.resize( 512 )
|
||||
except SystemError:
|
||||
# resize() not supported
|
||||
# No messages are printed, since the output of this test suite
|
||||
# would then be different across platforms.
|
||||
pass
|
||||
else:
|
||||
# resize() is supported
|
||||
# resize() is supported
|
||||
pass
|
||||
|
||||
m.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue