Message320050
| Author |
takluyver |
| Recipients |
takluyver, vstinner |
| Date |
2018年06月20日.10:12:27 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1529489547.83.0.56676864532.issue33912@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Yes, this should be easy. I misunderstood how to use the catch_warnings context manager. I thought that catch_warnings itself set up the warnings filters you need. You actually need to do that with a separate call inside the with block, as shown here:
https://docs.python.org/3/library/warnings.html#testing-warnings |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2018年06月20日 10:12:27 | takluyver | set | recipients:
+ takluyver, vstinner |
| 2018年06月20日 10:12:27 | takluyver | set | messageid: <1529489547.83.0.56676864532.issue33912@psf.upfronthosting.co.za> |
| 2018年06月20日 10:12:27 | takluyver | link | issue33912 messages |
| 2018年06月20日 10:12:27 | takluyver | create |
|