]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #18604: Consolidated checks for GUI availability.
authorZachary Ware <zachary.ware@gmail.com>
Fri, 2 May 2014 15:51:07 +0000 (10:51 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Fri, 2 May 2014 15:51:07 +0000 (10:51 -0500)
commitceced6bfead67f81cafad47c950e0769e1ba6db0
treec0de1b5ada19641b3bb8ce14ba84f8b5777b993a
parent3d5c9e2c6710ad9bd93651494b95c6fb1f81da89
Issue #18604: Consolidated checks for GUI availability.

test_support._is_gui_available is now defined the same way on every
platform, and now includes the Windows-specific check that had been in the
Windows version of _is_gui_available and the OSX-specific check that was
in tkinter.test.support.check_tk_availability.  Also, every platform
checks whether Tk can be instantiated (if the platform-specific checks
passed).
Lib/test/support/__init__.py
Lib/test/test_idle.py
Lib/test/test_tk.py
Lib/test/test_ttk_guionly.py
Lib/tkinter/test/support.py
Misc/NEWS