diff --git a/artiq/test/test_frontends.py b/artiq/test/test_frontends.py index adb209e54..844812c7a 100644 --- a/artiq/test/test_frontends.py +++ b/artiq/test/test_frontends.py @@ -7,6 +7,7 @@ import unittest class TestFrontends(unittest.TestCase): def test_help(self): """Test --help as a simple smoke test against catastrophic breakage.""" + # Skip tests for GUI programs on headless CI environments. commands = { "aqctl": [ "corelog", "korad_ka3005p", "lda", "novatech409b", @@ -19,13 +20,6 @@ class TestFrontends(unittest.TestCase): ] } - # Skip tests for GUI programs on headless CI environments. - try: - from PyQt5 import QtGui, QtWidgets - commands["artiq"] += ["browser", "dashboard"] - except ImportError: - pass - for module in (prefix + "_" + name for prefix, names in commands.items() for name in names):