commit | 5b7a2cb5caeb7df68e637f45a98632cbc84a51bf | [log] [tgz] |
---|---|---|
author | Pablo Galindo <Pablogsal@gmail.com> | Sat Sep 08 00:15:22 2018 +0100 |
committer | GitHub <noreply@github.com> | Sat Sep 08 00:15:22 2018 +0100 |
tree | 4b1af3ee12abd1340279194d1c97af69bc776362 | |
parent | d5fbe9b1a3d65ceeb9159c5ba999ee966a945f76 [diff] |
bpo-34246: Make sure test_smtplib always cleans resources when finished (GH-9108) * Make sure that when some of the tests in test_smtplib fail, the allocated threads and sockets are not leaked. * Use support.join_thread() instead of thread.join() to avoid infinite blocks.