diff options
Diffstat (limited to 'sources/pyside6/tests/QtAsyncio/qasyncio_test_threadsafe.py')
| -rw-r--r-- | sources/pyside6/tests/QtAsyncio/qasyncio_test_threadsafe.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtAsyncio/qasyncio_test_threadsafe.py b/sources/pyside6/tests/QtAsyncio/qasyncio_test_threadsafe.py index 489354349..a3bcd0c27 100644 --- a/sources/pyside6/tests/QtAsyncio/qasyncio_test_threadsafe.py +++ b/sources/pyside6/tests/QtAsyncio/qasyncio_test_threadsafe.py @@ -4,14 +4,22 @@ from __future__ import annotations '''Test cases for QtAsyncio''' +import os +import sys import unittest + +from pathlib import Path +sys.path.append(os.fspath(Path(__file__).resolve().parents[1])) +from init_paths import init_test_paths +init_test_paths(False) + import asyncio import threading import time - from PySide6.QtAsyncio import QAsyncioEventLoopPolicy +@unittest.skip("Temporarily disabled: hangs indefinitely on Python < 3.11") class QAsyncioTestCaseThreadsafe(unittest.TestCase): def setUp(self) -> None: |
