Skip to content

Commit 2ffd04a

Browse files
committed
Skip AWT integration test on macOS
It hangs, due to macOS's threading strictness.
1 parent 19a41f8 commit 2ffd04a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/it/awt.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22
Test scyjava AWT-related functions.
33
"""
44

5+
import platform
56
import sys
67

78
import scyjava
89

10+
if platform.system() == "Darwin":
11+
# NB: This test would hang on macOS, due to AWT threading issues.
12+
sys.exit(0)
13+
914
assert not scyjava.jvm_started()
1015
scyjava.start_jvm()
1116

0 commit comments

Comments
 (0)