Skip to content

Commit 04f86d5

Browse files
committed
verify: skip tkinter tests when DISPLAY not set
1 parent 838de29 commit 04f86d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/verify_distribution.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ def test_ssl(self):
109109

110110
ssl.create_default_context()
111111

112+
@unittest.skipIf("DISPLAY" not in os.environ, "DISPLAY not set")
112113
def test_tkinter(self):
113114
import tkinter as tk
114115

0 commit comments

Comments
 (0)