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 cheryl.sabella, kbk, markroseman, roger.serwy, terry.reedy
Date 2017-06-24.20:19:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I should have been clearer  - the full *python* test suite, not just IDLE, an with gui available -- "python -m test -ugui".  I don't think the check is applied with just one file, and definitely not with 'test.test_idle' versus 'test -ugui test_idle'.  The former runs test_idle with unittest.main instead of test.regrtest, which calls unittest.main but adds extra stuff.

Evading this issue is why I sometimes copy a method to be tested to a mock class with mock methods needed for the tested method.
Date User Action Args
2017-06-24 20:19:46terry.reedysetrecipients: + terry.reedy, kbk, roger.serwy, markroseman, cheryl.sabella
2017-06-24 20:19:46terry.reedysetmessageid: <>
2017-06-24 20:19:46terry.reedylinkissue24813 messages
2017-06-24 20:19:46terry.reedycreate