summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_largefile.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-23 17:22:08 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-23 17:22:08 (GMT)
commit004d5e6880940ddbb38460986ac62ee0f1bae97d (patch)
tree682e75e743f5c22206a65ac0262c03ce37e4fbee /Lib/test/test_largefile.py
parent2e6d25c5bbf3e2d4f18191c0836b5ed8f94dc850 (diff)
downloadcpython-004d5e6880940ddbb38460986ac62ee0f1bae97d.zip
cpython-004d5e6880940ddbb38460986ac62ee0f1bae97d.tar.gz
cpython-004d5e6880940ddbb38460986ac62ee0f1bae97d.tar.bz2
Make reindent.py happy (convert everything to 4-space indents!).
Diffstat (limited to 'Lib/test/test_largefile.py')
-rw-r--r--Lib/test/test_largefile.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/Lib/test/test_largefile.py b/Lib/test/test_largefile.py
index 3f0785c..58de293 100644
--- a/Lib/test/test_largefile.py
+++ b/Lib/test/test_largefile.py
@@ -56,7 +56,7 @@ def expect(got_this, expect_this):
# we have to check >4GB) files
if test_support.verbose:
- print 'create large file via seek (may be sparse file) ...'
+ print 'create large file via seek (may be sparse file) ...'
f = open(name, 'w')
f.seek(size)
f.write('a')
@@ -117,16 +117,16 @@ f.close()
# XXX has truncate ever worked on Windows? specifically on WinNT I get:
# "IOError: [Errno 13] Permission denied"
##try:
-## newsize = size - 10
-## f.seek(newsize)
-## f.truncate()
-## expect(f.tell(), newsize)
-## newsize = newsize - 1
-## f.seek(0)
-## f.truncate(newsize)
-## expect(f.tell(), newsize)
+## newsize = size - 10
+## f.seek(newsize)
+## f.truncate()
+## expect(f.tell(), newsize)
+## newsize = newsize - 1
+## f.seek(0)
+## f.truncate(newsize)
+## expect(f.tell(), newsize)
##except AttributeError:
-## pass
+## pass
os.unlink(name)
print >>sys.stderr, name, "exists:", os.path.exists(name)