summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2022-02-10 01:00:01 +0200
committerAlex Grönholm <alex.gronholm@nextday.fi>2022-02-10 01:00:01 +0200
commitc9f8c37533bbe5019df7f9a45d2a2ea39a39a66c (patch)
treec09ec444212222ef19944884349139cd4f6cf5d5 /tests
parent5a0caff369e9bd66c063a05490c8ef507a647293 (diff)
downloadapscheduler-c9f8c37533bbe5019df7f9a45d2a2ea39a39a66c.tar.gz
Added support for PySide6 to the Qt scheduler
Diffstat (limited to 'tests')
-rw-r--r--tests/test_schedulers.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_schedulers.py b/tests/test_schedulers.py
index 515b824..48d04e0 100644
--- a/tests/test_schedulers.py
+++ b/tests/test_schedulers.py
@@ -1039,11 +1039,10 @@ class TestTwistedScheduler(SchedulerImplementationTestBase):
thread.join()
-@pytest.mark.skip
class TestQtScheduler(SchedulerImplementationTestBase):
@pytest.fixture(scope='class')
def coreapp(self):
- QtCore = pytest.importorskip('PySide.QtCore')
+ QtCore = pytest.importorskip('PySide6.QtCore')
QtCore.QCoreApplication([])
@pytest.fixture
@@ -1052,7 +1051,7 @@ class TestQtScheduler(SchedulerImplementationTestBase):
return qt.QtScheduler()
def wait_event(self, queue):
- from PySide.QtCore import QCoreApplication
+ from PySide6.QtCore import QCoreApplication
while queue.empty():
QCoreApplication.processEvents()