Kaydet (Commit) a5af2148 authored tarafından Guido van Rossum's avatar Guido van Rossum

When doing the quick test to see whether large files are supported,

catch IOError as well as OverflowError.  I found that on Tru64 Unix
this was raised; probably because the OS (or libc) doesn't support
large files but the architecture is 64 bits!
üst bfce016a
......@@ -16,7 +16,7 @@ f = open(test_support.TESTFN, 'w')
try:
# 2**31 == 2147483648
f.seek(2147483649L)
except OverflowError:
except (IOError, OverflowError):
f.close()
os.unlink(test_support.TESTFN)
raise test_support.TestSkipped, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment