[issue17496] OS X test for Tk availability in runtktests.py doesn't work
Ronald Oussoren
report at bugs.python.org
Tue Apr 23 14:30:22 CEST 2013
Ronald Oussoren added the comment:
The attached patch start wish and stops it by sending the 'exit' command. With the patch I can run the tk tests without getting a skip. I cannot easily test if the patch also does the right thing on buildbots, but have high hopes. I did check that just starting 'wish' on a machine where I don't have console access causes a crash (OSX 10.5, nobody on the console, I logged on through SSH).
Open issues with my patch:
* The check uses whatever version wish is on the PATH, which may or may
not be related to the version of Tk that python is linked to.
It might be better to explicitly use /usr/bin/wish, as that one is
known to be native port of Tk (not X11) and is known to crash.
* Not tested if the patch causes a Skip when running tests without
GUI access.
----------
keywords: +easy
stage: -> needs patch
type: -> behavior
Added file: http://bugs.python.org/file29990/issue-17496.txt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17496>
_______________________________________
More information about the Python-bugs-list
mailing list