aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtAsyncio/qasyncio_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtAsyncio/qasyncio_test.py')
-rw-r--r--sources/pyside6/tests/QtAsyncio/qasyncio_test.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtAsyncio/qasyncio_test.py b/sources/pyside6/tests/QtAsyncio/qasyncio_test.py
index 80c5107ac..cf3f77113 100644
--- a/sources/pyside6/tests/QtAsyncio/qasyncio_test.py
+++ b/sources/pyside6/tests/QtAsyncio/qasyncio_test.py
@@ -4,9 +4,16 @@ from __future__ import annotations
'''Test cases for QtAsyncio'''
+import os
+import sys
import unittest
-import asyncio
+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
from PySide6.QtAsyncio import QAsyncioEventLoopPolicy