From a2da9cf5d34be255e17d26f7cc89526fd22a63b8 Mon Sep 17 00:00:00 2001 From: "C.A.M. Gerlach" Date: Fri, 17 Mar 2023 21:18:37 -0500 Subject: [PATCH] Skip QtPositioning tests on Conda Qt >=6.4.3 where its not included --- qtpy/tests/test_qtpositioning.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/qtpy/tests/test_qtpositioning.py b/qtpy/tests/test_qtpositioning.py index 750abbf5..15a59620 100644 --- a/qtpy/tests/test_qtpositioning.py +++ b/qtpy/tests/test_qtpositioning.py @@ -1,7 +1,12 @@ import pytest -from qtpy import PYQT5, PYSIDE2 +from qtpy import QT6 +from qtpy.tests.utils import using_conda +@pytest.mark.skipif( + QT6 and using_conda(), + reason="QPositioning bindings not included in Conda qt-main >= 6.4.3.", +) def test_qtpositioning(): """Test the qtpy.QtPositioning namespace""" from qtpy import QtPositioning