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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-06-24 20:19:46 | terry.reedy | set | recipients: + terry.reedy, kbk, roger.serwy, markroseman, cheryl.sabella |
| 2017-06-24 20:19:46 | terry.reedy | set | messageid: <1498335586.34.0.349672261282.issue24813@psf.upfronthosting.co.za> |
| 2017-06-24 20:19:46 | terry.reedy | link | issue24813 messages |
| 2017-06-24 20:19:46 | terry.reedy | create | |