homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:27takluyversetrecipients: + takluyver, vstinner
2018年06月20日 10:12:27takluyversetmessageid: <1529489547.83.0.56676864532.issue33912@psf.upfronthosting.co.za>
2018年06月20日 10:12:27takluyverlinkissue33912 messages
2018年06月20日 10:12:27takluyvercreate

AltStyle によって変換されたページ (->オリジナル) /