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 terry.reedy
Recipients anthony shaw, cheryl.sabella, taleinat, terry.reedy
Date 2019-01-09.00:33:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546994006.1.0.968346885148.issue35668@roundup.psfhosted.org>
In-reply-to
Content
I moved the debugger tests to #35690.  I want to keep this issue for general discussion of testing IDLE, and possibly related PRs improving the documentation thereof.

Serhiy Storchaka, the current tkinter maintainer, and I, have decided that IDLE should run with the implicit default root mechanism disabled.  (It allows bugs unless there are no explicit Tk() calls in the process.)

Therefore, tests should run the same way.  But when I put 'tk.NoDefaultRoot()' in the always-run part of test.test_idle, which is usually run with test.regrtest, there were problems.  So I moved it to the 'if main' clause that runs the IDLE suite directly with unittest.  But this clause only executes when test_idle is the main module, such as when one runs 'python -m test.test_idle' instead of 'python -m test -ugui', with or without 'test_idle added to restrict testing to test_idle.

I will add the consequence for the debugger test to the PR.
History
Date User Action Args
2019-01-09 00:33:28terry.reedysetrecipients: + terry.reedy, taleinat, cheryl.sabella, anthony shaw
2019-01-09 00:33:26terry.reedysetmessageid: <1546994006.1.0.968346885148.issue35668@roundup.psfhosted.org>
2019-01-09 00:33:26terry.reedylinkissue35668 messages
2019-01-09 00:33:25terry.reedycreate