Message296788
| 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 |
<1498335586.34.0.349672261282.issue24813@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|