commit | cffcfed1263a255386c0da50709d6abc18accaab | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Tue Feb 14 17:41:18 2006 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Tue Feb 14 17:41:18 2006 +0000 |
tree | be46b1becfc45183e734475095b3301e8a555bac | |
parent | 967aa8b3496df29f03895b5e30a590d77d337167 [diff] |
New test code failed to close the file. This caused test_file to fail on Windows in reality (can't delete a still-open file), but a new bare "except:" hid that test_file failed on Windows, and leaving behind the still-open TESTFN caused a cascade of bogus failures in later tests. So, close the file, and stop hiding failure to unlink.