diff --git a/napari_plugin_manager/_tests/test_qt_plugin_dialog.py b/napari_plugin_manager/_tests/test_qt_plugin_dialog.py index 047d82b..7af85a7 100644 --- a/napari_plugin_manager/_tests/test_qt_plugin_dialog.py +++ b/napari_plugin_manager/_tests/test_qt_plugin_dialog.py @@ -1,4 +1,5 @@ import importlib.metadata +import platform import sys from typing import Generator, Optional, Tuple from unittest.mock import patch @@ -13,7 +14,7 @@ from napari_plugin_manager import qt_plugin_dialog from napari_plugin_manager.qt_package_installer import InstallerActions -if qtpy.API_NAME == 'PySide2' and sys.version_info[:2] == (3, 11): +if qtpy.API_NAME == 'PySide2' and sys.version_info[:2] != (3, 10) and platform.system() != "Linux": pytest.skip( "Known PySide2 x Python 3.11 incompatibility: " "TypeError: 'PySide2.QtCore.Qt.Alignment' object cannot be interpreted as an integer",