Skip to content

bpo-31234: Fix dangling thread in test_ftplib#3544

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:test_ftplib2
Sep 13, 2017
Merged

bpo-31234: Fix dangling thread in test_ftplib#3544
vstinner merged 1 commit intopython:masterfrom
vstinner:test_ftplib2

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Sep 13, 2017

Clear also self.server_thread attribute in TestTimeouts.tearDown().

https://bugs.python.org/issue31234

Clear also self.server_thread attribute in TestTimeouts.tearDown().
@vstinner vstinner merged commit b157ce1 into python:master Sep 13, 2017
@vstinner vstinner deleted the test_ftplib2 branch September 13, 2017 13:44
vstinner added a commit that referenced this pull request Sep 13, 2017
* bpo-31234: Fix dangling thread in test_ftp/poplib (#3540)

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

(cherry picked from commit d403a29)

* bpo-31234: Fix dangling thread in test_ftplib (#3544)

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