]> granicus.if.org Git - python/commit
bpo-15526: test_startfile changes the cwd (#1537)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 10 May 2017 23:23:19 +0000 (01:23 +0200)
committerGitHub <noreply@github.com>
Wed, 10 May 2017 23:23:19 +0000 (01:23 +0200)
commit3837d9797c14c13d170256143c841d29645e772a
tree44da07975f7ae43e41dace3af97b50c0bf49b60f
parent05469fa1c05acf55bdca05db21822ecdd7f6487a
bpo-15526: test_startfile changes the cwd (#1537)

Try to fix test_startfile's inability to clean up after itself in
time. Patch by Jeremy Kloth.

Fix the following support.rmtree() error while trying to remove the
temporary working directory used by Python tests:

WindowsError: [Error 32] The process cannot access the file because
it is being used by another process: ...

Original commit: 8a53dbeb7a9d0ae3e446f36e56cf9acfabe443c1
Lib/test/test_startfile.py