diff --git a/qtpy/tests/test_qtwinextras.py b/qtpy/tests/test_qtwinextras.py index 4e349a8f..77e5c282 100644 --- a/qtpy/tests/test_qtwinextras.py +++ b/qtpy/tests/test_qtwinextras.py @@ -18,7 +18,8 @@ def test_qtwinextras(): assert QtWinExtras.QWinTaskbarProgress is not None assert QtWinExtras.QWinThumbnailToolBar is not None assert QtWinExtras.QWinThumbnailToolButton is not None - assert QtWinExtras.QtWin is not None + if not PYSIDE2: # See https://bugreports.qt.io/browse/PYSIDE-1047 + assert QtWinExtras.QtWin is not None if PYSIDE2: assert QtWinExtras.QWinColorizationChangeEvent is not None