We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 754e085 commit 154f6c7Copy full SHA for 154f6c7
qtpy/tests/test_qtcore.py
@@ -5,17 +5,16 @@
5
from datetime import date, datetime, time
6
7
import pytest
8
+from packaging.version import parse
9
10
from qtpy import (
11
PYQT5,
12
PYQT6,
13
PYSIDE2,
- PYSIDE6,
14
PYQT_VERSION,
15
PYSIDE_VERSION,
16
QtCore,
17
)
18
-from qtpy.tests.utils import not_using_conda
19
20
_now = datetime.now()
21
# Make integer milliseconds; `floor` here, don't `round`!
@@ -71,6 +70,8 @@ def test_qthread_exec():
71
70
assert QtCore.QThread.exec is not None
72
73
+@pytest.mark.skipif(PYSIDE2 and parse(PYSIDE_VERSION) < parse("5.15"),
74
+ reason="QEnum macro doesn't seem to be present on PySide2 <5.15")
75
def test_qenum():
76
"""Test QEnum macro"""
77
class EnumTest(QtCore.QObject):
0 commit comments