Home
last modified time | relevance | path

Searched refs:_is_gui_available (Results 1 – 1 of 1) sorted by relevance

/third_party/python/Lib/test/support/
D__init__.py202 def _is_gui_available(): function
203 if hasattr(_is_gui_available, 'result'):
204 return _is_gui_available.result
274 _is_gui_available.reason = reason
275 _is_gui_available.result = not reason
277 return _is_gui_available.result
293 if resource == 'gui' and not _is_gui_available():
294 raise ResourceDenied(_is_gui_available.reason)
892 if resource == 'gui' and not _is_gui_available():
893 return unittest.skip(_is_gui_available.reason)