Skip to content

Ignore errors when cleaning up test temporary directories #3416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2017

Conversation

Nurdok
Copy link
Contributor

@Nurdok Nurdok commented May 23, 2017

Running the pytest tests on Windows sometimes cause OSError when cleaning up a test's temporary directory in teardown. A fuller fix was discussed in #3239, but this PR implements a workaround to make tests pass regardless of the error (as opposed to actually waiting for the files to get unlocked and delete them).

@ilevkivskyi ilevkivskyi merged commit 9cfbb0a into python:master May 23, 2017
@Nurdok Nurdok deleted the feature/windows-test-bug branch May 23, 2017 16:02
gvanrossum added a commit that referenced this pull request May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants