diff options
author | Paul Monson <paulmon@users.noreply.github.com> | 2019-06-19 20:09:54 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@python.org> | 2019-06-19 20:09:54 (GMT) |
commit | f355069a3337711642c3403429afb9faef93f512 (patch) | |
tree | c2a749be8e1921205c676ecdb22fe8703d947c42 /Lib/test/support | |
parent | 12f1c726d8328e5e096c35c36901f6d19bc942d3 (diff) | |
download | cpython-f355069a3337711642c3403429afb9faef93f512.zip cpython-f355069a3337711642c3403429afb9faef93f512.tar.gz cpython-f355069a3337711642c3403429afb9faef93f512.tar.bz2 |
bpo-36511: Add buildbot scripts and fix tests for Windows ARM32 buildbot (GH-13454)
Diffstat (limited to 'Lib/test/support')
-rw-r--r-- | Lib/test/support/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py index 7c0efc7..b5538d2 100644 --- a/Lib/test/support/__init__.py +++ b/Lib/test/support/__init__.py @@ -485,7 +485,9 @@ def _is_gui_available(): if hasattr(_is_gui_available, 'result'): return _is_gui_available.result reason = None - if sys.platform.startswith('win'): + if sys.platform.startswith('win') and platform.win32_is_iot(): + reason = "gui is not available on Windows IoT Core" + elif sys.platform.startswith('win'): # if Python is running as a service (such as the buildbot service), # gui interaction may be disallowed import ctypes |