Skip to content

Commit 7948155

Browse files
committed
tests: skip Tk tests on macOS only
1 parent 426826b commit 7948155

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mss/tests/test_issue_220.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
tkinter = pytest.importorskip("tkinter")
1212

13-
if platform.python_implementation() == "PyPy":
14-
# PyPy 7.3.11 [Python 3.9.16] fails on GitHub:
13+
if platform.system().lower() == "darwin" and platform.python_implementation() == "PyPy":
14+
# [macOS] PyPy 7.3.11 [Python 3.9.16] fails on GitHub:
1515
# RuntimeError: tk.h version (8.5) doesn't match libtk.a version (8.6)
1616
pytestmark = pytest.mark.skip
1717

0 commit comments

Comments
 (0)