Message193805
| Author |
terry.reedy |
| Recipients |
JayKrish, Todd.Rovito, ned.deily, philwebster, python-dev, r.david.murray, terry.reedy, zach.ware |
| Date |
2013年07月28日.03:37:09 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1374982630.09.0.874367526472.issue18441@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I tried to run the currently unnecessary Mac 'darwin' check in 2.7 with
if sys.platform == 'darwin':
from lib-tk.test.runtktests import check_tk_availability
# tkinter.test.suppport in 3.x
try:
check_tk_availability()
except unittest.SkipTest:
raise tk.TclError
This fails because 'lib-tk' is not a legal module name. There are workarounds in test/test_tk.py and test_ttk_guionly, but I decided not to bother with them now because I would rather work on moving the function to test.support (and perhaps the package could be given a legal name). If, before that is done, someone adds a Mac buildbot that will not run gui tests but requests that they be run anyway, the above could be added with the different changes needed for 2.7 and 3.x. |
|