pytest should integrate with warnings module #253
Labels
topic: reporting
related to terminal output and user-facing messages and errors
type: enhancement
new feature or API change, should be merged into features branch
Originally reported by: Andreas Kloeckner (BitBucket: inducer, GitHub: inducer)
Hi there,
I would like it if pytest could highlight tests that trigger Python warnings via the
warnings
module, print statistics on them, and, optionally, print all those warnings. When (especially deprecation) warnings are used to evolve interfaces, this allows catching all those early on as opposed to when they actually cause an error.Thanks,
Andreas
The text was updated successfully, but these errors were encountered: