Skip to content

Commit

Permalink
Merge pull request #244 from AndrewAmmerlaan/master
Browse files Browse the repository at this point in the history
qtpy/tests/test_uic.py: skip if pyside2uic not installed
  • Loading branch information
dalthviz authored Sep 7, 2021
2 parents a955c0a + faf91d3 commit 32f6c57
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion qtpy/tests/test_uic.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
import contextlib

import pytest
from qtpy import PYQT5, PYSIDE2, QtWidgets
from qtpy import PYQT5, PYSIDE2, PYSIDE, QtWidgets
from qtpy.QtWidgets import QComboBox

if PYSIDE2 or PYSIDE:
pytest.importorskip("pyside2uic", reason="pyside2uic not installed")

from qtpy import uic
from qtpy.uic import loadUi, loadUiType

Expand Down

0 comments on commit 32f6c57

Please sign in to comment.