cpython: b58b0c5c7e96 (original) (raw)

Mercurial > cpython

changeset 71242:b58b0c5c7e96 3.2

Issue #8716: Instead of relying on Aqua Tk exceptions to detect lack of OS X window manager connection in tk tests, use OS X Application Services API calls instead. [#8716]

Ned Deily nad@acm.org
date Tue, 05 Jul 2011 19:09:37 -0700
parents 807921ba241d
children 2f7e353f9e83 4e83d8f6d496
files Lib/tkinter/test/support.py
diffstat 1 files changed, 35 insertions(+), 25 deletions(-)[+] [-] Lib/tkinter/test/support.py 60

line wrap: on

line diff

--- a/Lib/tkinter/test/support.py +++ b/Lib/tkinter/test/support.py @@ -1,38 +1,48 @@ -import subprocess import sys -from test import support import tkinter import unittest -_tk_available = None +_tk_unavailable = None def check_tk_availability(): """Check that Tk is installed and available."""

+