Skip to content

[3.6] bpo-31234: Fix dangling thread in test_ftp/poplib #3554

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 2 commits into from
Sep 13, 2017
Merged

[3.6] bpo-31234: Fix dangling thread in test_ftp/poplib #3554

merged 2 commits into from
Sep 13, 2017

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Sep 13, 2017

Explicitly clear the server attribute in test_ftplib and test_poplib
to prevent dangling thread.

(cherry picked from commit d403a29)
Clear also self.server_thread attribute in TestTimeouts.tearDown().

(cherry picked from commit b157ce1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants