8000 Add check for DISPLAY · MacPython/matplotlib-wheels@ee2c3be · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Commit ee2c3be

Browse files
committed
Add check for DISPLAY
1 parent 3a1d376 commit ee2c3be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ function run_tests {
7373
python -c "import matplotlib; print(matplotlib.__file__)"
7474
python -c "from matplotlib import font_manager"
7575

76+
python -c "import os; print(not 'DISPLAY' in os.environ)"
77+
7678
# Workaround for pytest-xdist flaky collection order
7779
# https://github.com/pytest-dev/pytest/issues/920
7880
# https://github.com/pytest-dev/pytest/issues/1075

0 commit comments

Comments
 (0)
0