We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a76fb4a commit d4fb57eCopy full SHA for d4fb57e
1 file changed
tests/test_clipboard_os.py
@@ -1,5 +1,12 @@
1
import time
2
-from pytron.dependencies import pytron_os
+import pytest
3
+
4
+# pytron_os is a native binary (.so/.pyd) that requires platform libs like GTK on Linux.
5
+# Skip the whole module if it can't be loaded (e.g. headless CI with no GTK).
6
+pytron_os = pytest.importorskip(
7
+ "pytron.dependencies.pytron_os",
8
+ reason="pytron_os native binary unavailable (missing system libs or not built)",
9
+)
10
11
12
def test_clipboard_integrity():
0 commit comments