aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtAsyncio/qasyncio_test_time.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtAsyncio/qasyncio_test_time.py')
-rw-r--r--sources/pyside6/tests/QtAsyncio/qasyncio_test_time.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtAsyncio/qasyncio_test_time.py b/sources/pyside6/tests/QtAsyncio/qasyncio_test_time.py
index 66f0433df..e95e457b6 100644
--- a/sources/pyside6/tests/QtAsyncio/qasyncio_test_time.py
+++ b/sources/pyside6/tests/QtAsyncio/qasyncio_test_time.py
@@ -4,10 +4,17 @@ 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 datetime
-
from PySide6.QtAsyncio import QAsyncioEventLoopPolicy