summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-12-10 19:41:23 (GMT)
committerGitHub <noreply@github.com>2019-12-10 19:41:23 (GMT)
commitbbc8b7965bb9f46763c96878326966f4231c7d39 (patch)
treef9dfe1e3637a9c2805e8757a5abc75bdd0e47352 /Lib/test/test_asyncio
parent07871b256c76ca561554d1f82b430fc64a5c7ee0 (diff)
downloadcpython-bbc8b7965bb9f46763c96878326966f4231c7d39.zip
cpython-bbc8b7965bb9f46763c96878326966f4231c7d39.tar.gz
cpython-bbc8b7965bb9f46763c96878326966f4231c7d39.tar.bz2
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_asyncio')
-rw-r--r--Lib/test/test_asyncio/test_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py
index 5ffb3d3..52467d8 100644
--- a/Lib/test/test_asyncio/test_events.py
+++ b/Lib/test/test_asyncio/test_events.py
@@ -699,7 +699,7 @@ class EventLoopTestsMixin:
proto.transport.close()
lsock.close()
- support.join_thread(thread, timeout=1)
+ support.join_thread(thread)
self.assertFalse(thread.is_alive())
self.assertEqual(proto.state, 'CLOSED')
self.assertEqual(proto.nbytes, len(message))