[Python-Dev] Tests failing on Windows with TESTFN

Steve Dower steve.dower at python.org
Sun Jul 29 08:35:35 EDT 2018


On 29Jul2018 0958, Tim Golden wrote:
> In the interests of trying to keep a focus to the changes I'm making, I 
> propose to start again by, as you suggest, making use of 
> test.support.unlink where it's not currently used. From the evidence I 
> don't believe that will solve every problem I'm seeing but it should 
> certainly reduce them.

One additional thing that may help (if support.unlink doesn't already do 
it) is to rename the file before deleting it. Renames are always 
possible even with open handles, and then you can create a new file at 
the original name.

Cheers,
Steve


More information about the Python-Dev mailing list