Ronald Oussoren added the comment:

I just noticed that the Tk tests still get skipped on my machine, and 
rediscovered this issue. The reason that MacOS.WMAvailable() returns False on 
the buildbot is because it runs "./python.exe", which is not part of an 
application bundle and therefore has no GUI access.

To easily reproduce with a framework install:

* Note that MacOS.WMAvailable() returns True when you run
  the python/pythonw when you are logged in to the machine

* Now copy 
/Library/Framework/Python.frameworks/Versions/Current/Resources/Python.app/Contents/MacOS/Python
 to "python.exe"

* Run "./python.exe" and note that MacOS.WMAvailable() now returns
  False (and that sys.prefix still refers to the framework)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8716>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to