Commit 8bda3372 authored by Neal Norwitz's avatar Neal Norwitz

Try harder to provoke the exception since the ia64 buildbot still

doesn't reliably produce an exception.
parent 4c53ec79
...@@ -33,6 +33,7 @@ try: ...@@ -33,6 +33,7 @@ try:
limit_set = 0 limit_set = 0
f = open(TESTFN, "wb") f = open(TESTFN, "wb")
f.write("X" * 1024) f.write("X" * 1024)
f.flush()
try: try:
f.write("Y") f.write("Y")
f.flush() f.flush()
...@@ -43,6 +44,7 @@ try: ...@@ -43,6 +44,7 @@ try:
for i in range(5): for i in range(5):
time.sleep(.1) time.sleep(.1)
f.flush() f.flush()
f.close()
except IOError: except IOError:
if not limit_set: if not limit_set:
raise raise
......
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