Skip to content

Commit 2af0894

Browse files
committed
shut down the system global pool after test
1 parent 274f835 commit 2af0894

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_qthreadexec.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,3 +184,4 @@ def test_default_pool_executor():
184184
with qasync.QThreadPoolExecutor() as executor:
185185
f = executor.submit(lambda: 42)
186186
assert f.result() == 42
187+
executor.pool.waitForDone()

0 commit comments

Comments
 (0)