Message215715
| Author |
terry.reedy |
| Recipients |
brian.curtin, jeremy.kloth, jkloth, loewis, python-dev, serhiy.storchaka, terry.reedy, tim.golden, vstinner, zach.ware |
| Date |
2014年04月07日.19:07:20 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1396897641.44.0.825909143035.issue15968@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I reran external.bat in all three versions and compile runs better.
Test_idle with -ugui fails to find _tkinter after another test that runs tk (including itself) *in the same process*. Adding -j2 to run in separate process eliminates the problem.
F:\Python\dev5円\py35>pcbuild\python_d -m test -j2 -ugui test_tcl test_idle
So does not using test.test_support to run the tests. The following runs fine either at a command line or within Idle. (Does unittest run tests in a subprocess?)
from test import support; support.use_resources = ['gui']
import unittest
unittest.main('test.test_tcl', exit=False)
unittest.main('test.test_idle', exit=False) |
|