Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 0fbbede

Browse files
committed
Use daemon threads in tests to avoid hangs
1 parent 1cd39d8 commit 0fbbede

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def __init__(self,
4747
self.host = host
4848
self.secure = secure
4949
self.ready_event = ready_event
50+
self.daemon = True
5051

5152
if self.secure:
5253
self.cxt = ssl.SSLContext(ssl.PROTOCOL_SSLv23)

0 commit comments

Comments
 (0)