Message193590
| Author |
ronaldoussoren |
| Recipients |
gpolo, janssen, ned.deily, pitrou, python-dev, r.david.murray, ronaldoussoren, vstinner |
| Date |
2013年07月23日.08:55:04 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1374569704.8.0.0449340778958.issue8716@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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) |
|