This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients ned.deily, terry.reedy
Date 2013-11-04.04:05:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383537916.61.0.84173881768.issue19488@psf.upfronthosting.co.za>
In-reply-to
Content
Running test_idle is supposed to cause the tests in Lib/idlelib/idle_test to be run.  Unfortunately, under 2.7, when test.regrtest is used as the test runner, either directly or via "make test" (which buildbots use), the idlelib tests are currently silently skipped.  This can be seen by running with -v and observing that nothing is run:

python -m test.regrtest -v -uall test_idle

The problem is that test_idle.py is depending on regrtest support of the load_tests protocol; that support was only added to regrtest in 3.3.  Without changes to regrtest for 2.7, test_idle needs to define test_main as other tests do.  The attached patch seems to fix the problem.
History
Date User Action Args
2013-11-04 04:05:16ned.deilysetrecipients: + ned.deily, terry.reedy
2013-11-04 04:05:16ned.deilysetmessageid: <1383537916.61.0.84173881768.issue19488@psf.upfronthosting.co.za>
2013-11-04 04:05:16ned.deilylinkissue19488 messages
2013-11-04 04:05:15ned.deilycreate