]> granicus.if.org Git - python/commit
Issue #18604: Consolidated checks for GUI availability.
authorZachary Ware <zachary.ware@gmail.com>
Fri, 2 May 2014 15:33:49 +0000 (10:33 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Fri, 2 May 2014 15:33:49 +0000 (10:33 -0500)
commit2460dc880f9d8df0ddbc77790dfd68767e481527
treeda74cd5b2590e8ac5e35f5ab1755a54f4c03a8c8
parente9864c5e30f574f599d9c27e5907d1d541ec6e4b
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 runtktests.check_tk_availability.  Also, every platform checks whether
Tk can be instantiated (if the platform-specific checks passed).
Lib/lib-tk/test/runtktests.py
Lib/test/test_idle.py
Lib/test/test_support.py
Lib/test/test_tk.py
Lib/test/test_ttk_guionly.py
Misc/NEWS