Message104990
Could you write a test? Use a fake file objects that raise (or not) an IOError on close(), and then check that close() was closed on both files. There are 4 cases: input.close() raises or not an exception, output.close() raises or not an exception. |
|
Date |
User |
Action |
Args |
2010-05-05 00:44:38 | vstinner | set | recipients:
+ vstinner, tseaver, pitrou, tarek, ammon_riley |
2010-05-05 00:44:38 | vstinner | set | messageid: <1273020278.46.0.81321341346.issue4265@psf.upfronthosting.co.za> |
2010-05-05 00:44:36 | vstinner | link | issue4265 messages |
2010-05-05 00:44:35 | vstinner | create | |
|