diff --git a/test/test_resolution_smoke_test.py b/test/test_resolution_smoke_test.py index f69daefe5fc4b7876aa92b0e66b58fd1decd9354..2b41e021ea421607425b9a93ac542e28ee9df73b 100644 --- a/test/test_resolution_smoke_test.py +++ b/test/test_resolution_smoke_test.py @@ -11,7 +11,7 @@ the user. Our pipeline will test across a couple of different resolutions. import unittest from PySide2.QtWidgets import QApplication from PySide2 import QtGui -from PySide2.QtCore import QTimer, Qt +from PySide2.QtCore import QTimer, Qt, QSysInfo from PySide2.QtTest import QTest from PySide2.QtGui import QGuiApplication from soitool.soi import SOI @@ -67,6 +67,7 @@ def screen_information(): class TestModulesAcrossResolutions(unittest.TestCase): """TestCase for modules across resolutions.""" + @unittest.skipUnless(QSysInfo.productType(), "windows") def test_add_all_modules(self): """Add all modules, reorganize, and assert result.