Message191283
| Author | brett.cannon |
|---|---|
| Recipients | Arfrever, brett.cannon, kbk, r.david.murray, roger.serwy, terry.reedy, vinay.sajip |
| Date | 2013-06-16.19:36:11 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1371411371.89.0.806933516537.issue18081@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I actually don't get the warnings when I run test_idle under regrtest. But what I did was followed a hunch and added a check for warnings.showwarning() and sure enough, it's been left modified by IDLE: PyShell replaces the function as a side-effect of import. Not sure how you want to fix it. Using warnings.catch_warnings() during import would solve it, but I don't know if that's how you want to go in case that showwarnings replacement is needed. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2013-06-16 19:36:11 | brett.cannon | set | recipients: + brett.cannon, terry.reedy, kbk, vinay.sajip, roger.serwy, Arfrever, r.david.murray |
| 2013-06-16 19:36:11 | brett.cannon | set | messageid: <1371411371.89.0.806933516537.issue18081@psf.upfronthosting.co.za> |
| 2013-06-16 19:36:11 | brett.cannon | link | issue18081 messages |
| 2013-06-16 19:36:11 | brett.cannon | create | |