Message191283
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. |
|
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 | |
|