aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtAsyncio/qasyncio_test_threadsafe.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtAsyncio/qasyncio_test_threadsafe.py')
-rw-r--r--sources/pyside6/tests/QtAsyncio/qasyncio_test_threadsafe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtAsyncio/qasyncio_test_threadsafe.py b/sources/pyside6/tests/QtAsyncio/qasyncio_test_threadsafe.py
index 8a7eaf2ce..5b52db239 100644
--- a/sources/pyside6/tests/QtAsyncio/qasyncio_test_threadsafe.py
+++ b/sources/pyside6/tests/QtAsyncio/qasyncio_test_threadsafe.py
@@ -36,7 +36,7 @@ class QAsyncioTestCaseThreadsafe(unittest.TestCase):
task = asyncio.create_task(self.loop_event.wait())
# The timeout is necessary because the loop will hang for the non-threadsafe case.
- done, pending = await asyncio.wait([task], timeout=3)
+ done, pending = await asyncio.wait([task], timeout=2)
thread.join()