Message215715
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\dev\5\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) |
|
Date |
User |
Action |
Args |
2014-04-07 19:07:21 | terry.reedy | set | recipients:
+ terry.reedy, loewis, vstinner, tim.golden, jkloth, brian.curtin, jeremy.kloth, python-dev, zach.ware, serhiy.storchaka |
2014-04-07 19:07:21 | terry.reedy | set | messageid: <1396897641.44.0.825909143035.issue15968@psf.upfronthosting.co.za> |
2014-04-07 19:07:21 | terry.reedy | link | issue15968 messages |
2014-04-07 19:07:20 | terry.reedy | create | |
|