commit | 249cbe794e048d7c6c34169d4b59529f1c0baedb | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Mon Jan 28 01:33:23 2008 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Mon Jan 28 01:33:23 2008 +0000 |
tree | 460ed87d3008130ddcb7ab140ff8efadbb6ec9ac | |
parent | 209ea39d31288c7446601c583bbb7ed55bb2a3d9 [diff] [blame] |
Try harder to provoke the exception since the ia64 buildbot still doesn't reliably produce an exception.
diff --git a/Lib/test/test_resource.py b/Lib/test/test_resource.py index ac95395..c86735a 100644 --- a/Lib/test/test_resource.py +++ b/Lib/test/test_resource.py
@@ -33,6 +33,7 @@ limit_set = 0 f = open(TESTFN, "wb") f.write("X" * 1024) + f.flush() try: f.write("Y") f.flush() @@ -43,6 +44,7 @@ for i in range(5): time.sleep(.1) f.flush() + f.close() except IOError: if not limit_set: raise