summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJason Tishler <jason@tishler.net>2003-08-26 11:59:27 (GMT)
committerJason Tishler <jason@tishler.net>2003-08-26 11:59:27 (GMT)
commit063606a0d5302d8a5530297a70494a9cad334e83 (patch)
tree617b584a11a3de165824fe931579612d75a1b602 /Misc
parent9e3864190c1552e44da181fc8bee903348fdc51c (diff)
downloadcpython-063606a0d5302d8a5530297a70494a9cad334e83.zip
cpython-063606a0d5302d8a5530297a70494a9cad334e83.tar.gz
cpython-063606a0d5302d8a5530297a70494a9cad334e83.tar.bz2
test_largefile can leave its temp file open if one of many tests fail. On
platforms (e.g., Cygwin) that are "particular" about open files, this will cause other regression tests that use the same temp file to fail: $ ./python.exe -E -tt Lib/test/regrtest.py -l test_largefile test_mmap test_mutants test_largefile test test_largefile failed -- got -1794967295L, but expected 2500000001L test_mmap test test_mmap crashed -- exceptions.IOError: [Errno 13] Permission denied: '@test' test_mutants test test_mutants crashed -- exceptions.IOError: [Errno 13] Permission denied: '@test' This patch solves the problem by adding missing "try/finally" blocks. Note that the "large" size of this patch is due to many white space changes -- otherwise, the patch is small. I tested this patch under Red Hat Linux 8.0 too.
Diffstat (limited to 'Misc')
0 files changed, 0 insertions, 0 deletions