Try harder to provoke the exception since the ia64 buildbot still

doesn't reliably produce an exception.
This commit is contained in:
Neal Norwitz 2008-01-28 01:33:23 +00:00
parent 209ea39d31
commit 249cbe794e
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ try:
limit_set = 0
f = open(TESTFN, "wb")
f.write("X" * 1024)
f.flush()
try:
f.write("Y")
f.flush()
@ -43,6 +44,7 @@ try:
for i in range(5):
time.sleep(.1)
f.flush()
f.close()
except IOError:
if not limit_set:
raise