From ec048350c130c36b58750aaf7fe369981f010387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Althviz=20Mor=C3=A9?= Date: Thu, 21 Oct 2021 10:46:19 -0500 Subject: [PATCH] Apply missing suggestions from code review --- qtpy/tests/test_qtcore.py | 2 +- qtpy/tests/test_qtremoteobjects.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/qtpy/tests/test_qtcore.py b/qtpy/tests/test_qtcore.py index eff7a661..e9b22ae7 100644 --- a/qtpy/tests/test_qtcore.py +++ b/qtpy/tests/test_qtcore.py @@ -17,7 +17,7 @@ def test_DateTime_toPython(): @pytest.mark.skipif(PYSIDE2 or PYQT6, - reason="Doesn't seem to be present on PySide2") + reason="Doesn't seem to be present on PySide2 and PyQt6") def test_QtCore_SignalInstance(): class ClassWithSignal(QtCore.QObject): signal = QtCore.Signal() diff --git a/qtpy/tests/test_qtremoteobjects.py b/qtpy/tests/test_qtremoteobjects.py index c7a1d10b..88234b9d 100644 --- a/qtpy/tests/test_qtremoteobjects.py +++ b/qtpy/tests/test_qtremoteobjects.py @@ -1,10 +1,9 @@ import pytest from qtpy import PYSIDE2, PYSIDE6, PYQT5, PYQT6 -@pytest.mark.skipif(True, reason="Not available in CI") def test_qtremoteobjects(): """Test the qtpy.QtRemoteObjects namespace""" - from qtpy import QtRemoteObjects + QtRemoteObjects = pytest.importorskip("qtpy.QtRemoteObjects") assert QtRemoteObjects.QRemoteObjectAbstractPersistedStore is not None assert QtRemoteObjects.QRemoteObjectDynamicReplica is not None