Examples Should Be Tested on PySide2 5.14.2.2

This commit is contained in:
Ogi 2020-06-02 22:44:17 -07:00
parent 9d1fbb6a3e
commit ab96ca1d30

View File

@ -150,7 +150,12 @@ conditionalExamples = {
) )
} }
@pytest.mark.skipif(Qt.QT_LIB == "PySide2" and "Qt.QtVersion.startswith('5.14')", reason="new PySide2 doesn't have loadUi functionality") @pytest.mark.skipif(
Qt.QT_LIB == "PySide2"
and tuple(map(int, Qt.PySide2.__version__.split("."))) >= (5, 14)
and tuple(map(int, Qt.PySide2.__version__.split("."))) < (5, 14, 2, 2),
reason="new PySide2 doesn't have loadUi functionality"
)
@pytest.mark.parametrize( @pytest.mark.parametrize(
"frontend, f", "frontend, f",
[ [