tim golden cggctimgoldenmeuk tim golden wrote gregory p smith wrote tue apr 1 2008 913 tim golden wrote tim golden wrote import os sys import win32file filename test def rename_and_remove filename osrename filename filename deleted osremove filename deleted isnt still going run problems rename fails earlier tests remove still left deleted file around due running desktop search service deleted file open ive looked around issue far cant come foolproof way guaranteeing wont happen considered eg trying open test file semantics preclude file_share_delete succeeding ie stopping search services tsvn getting handle cant find anything doesnt cause problems solves lest discussion descend inactivity ive done fresh checkout im producing patch add open_testfile close_testfile functions test_support something like update tests use im inclined go tempfile approach least functions means could change obviously widereaching change unless anyones got better ideas alternative seems intermittentlyfailing test runs windows buildbots tjg _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom thu 07 aug 2008 062302 0100 pythondev fixing tests windows