Skip to content

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

Merged
vstinner merged 2 commits intopython:3.6from
vstinner:test_ftplib36
Sep 13, 2017
Merged

[3.6] bpo-31234: Fix dangling thread in test_ftp/poplib#3554
vstinner merged 2 commits intopython:3.6from
vstinner:test_ftplib36

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