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