Skip to content

Commit 14849f9

Browse files
committed
Update QtWebEngineCore test to include PyQt5/Pyside2 bindings
1 parent d61aa37 commit 14849f9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

qtpy/tests/test_qtwebenginewidgets.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
import pytest
22
from packaging import version
33

4-
from qtpy import PYQT6, PYQT_VERSION, PYSIDE6, PYSIDE_VERSION
4+
from qtpy import PYQT5, PYQT6, PYQT_VERSION, PYSIDE2, PYSIDE6, PYSIDE_VERSION
55

66

77
@pytest.mark.skipif(
88
not (
99
(PYQT6 and version.parse(PYQT_VERSION) >= version.parse("6.2"))
1010
or (PYSIDE6 and version.parse(PYSIDE_VERSION) >= version.parse("6.2"))
11+
or PYQT5
12+
or PYSIDE2
1113
),
1214
reason="Only available in Qt<6,>=6.2 bindings",
1315
)

0 commit comments

Comments
 (0)