summaryrefslogtreecommitdiff
path: root/Lib/test/test_imaplib.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-12-10 20:41:23 +0100
committerGitHub <noreply@github.com>2019-12-10 20:41:23 +0100
commitbbc8b7965bb9f46763c96878326966f4231c7d39 (patch)
treef9dfe1e3637a9c2805e8757a5abc75bdd0e47352 /Lib/test/test_imaplib.py
parent07871b256c76ca561554d1f82b430fc64a5c7ee0 (diff)
downloadcpython-git-bbc8b7965bb9f46763c96878326966f4231c7d39.tar.gz
bpo-38614: Use default join_thread() timeout in tests (GH-17559)
Tests no longer pass a timeout value to join_thread() of test.support: use the default join_thread() timeout instead (SHORT_TIMEOUT constant of test.support).
Diffstat (limited to 'Lib/test/test_imaplib.py')
-rw-r--r--Lib/test/test_imaplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_imaplib.py b/Lib/test/test_imaplib.py
index 846392ebcb..795276e0a7 100644
--- a/Lib/test/test_imaplib.py
+++ b/Lib/test/test_imaplib.py
@@ -238,7 +238,7 @@ class NewIMAPTestsMixin():
# cleanup the server
self.server.shutdown()
self.server.server_close()
- support.join_thread(self.thread, 3.0)
+ support.join_thread(self.thread)
# Explicitly clear the attribute to prevent dangling thread
self.thread = None