We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed035c4 commit e74a901Copy full SHA for e74a901
tests/test_eventloop.py
@@ -98,13 +98,10 @@ def test_cocoa_loop(kernel):
98
loop_cocoa(kernel)
99
100
101
-@pytest.mark.skip(reason="reason crash on CI.")
102
-@pytest.mark.skipif(
103
- len(qt_guis_avail) == 0, reason="No viable version of PyQt or PySide installed."
104
-)
105
-def test_qt_enable_gui(kernel, capsys):
106
- gui = qt_guis_avail[0]
107
-
+@pytest.mark.parametrize("gui", qt_guis_avail)
+def test_qt_enable_gui(gui, kernel, capsys):
+ if os.getenv("GITHUB_ACTIONS", None) == "true" and gui == "qt5":
+ pytest.skip("Qt5 and GitHub action crash CPython")
108
enable_gui(gui, kernel)
109
110
# We store the `QApplication` instance in the kernel.
0 commit comments