Skip to content

Commit 861ffdd

Browse files
committed
3.9 qt6
1 parent e74a901 commit 861ffdd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_eventloop.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ def test_cocoa_loop(kernel):
102102
def test_qt_enable_gui(gui, kernel, capsys):
103103
if os.getenv("GITHUB_ACTIONS", None) == "true" and gui == "qt5":
104104
pytest.skip("Qt5 and GitHub action crash CPython")
105+
if sys.platform == "win32" and gui == "qt6" and sys.version_info < (3, 10):
106+
pytest.skip(
107+
"win+qt6 fails on 3.9 with AttributeError: module 'PySide6.QtPrintSupport' has no attribute 'QApplication'"
108+
)
105109
enable_gui(gui, kernel)
106110

107111
# We store the `QApplication` instance in the kernel.

0 commit comments

Comments
 (0)