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 5fc656f commit dfd65fdCopy full SHA for dfd65fd
qtpy/tests/test_qtstatemachine.py
@@ -1,11 +1,14 @@
1
import pytest
2
3
-from qtpy.tests.utils import pytest_importorskip
+from qtpy import QtBindingInNewerVersionError
4
5
6
def test_qtstatemachine():
7
"""Test the qtpy.QtStateMachine namespace"""
8
- from qtpy import QtStateMachine
+ try:
9
+ from qtpy import QtStateMachine
10
+ except QtBindingInNewerVersionError:
11
+ pytest.skip("QtStateMachine not available in this binding version")
12
13
assert QtStateMachine.QAbstractState is not None
14
assert QtStateMachine.QAbstractTransition is not None
0 commit comments