Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 378 Bytes

9288.breaking.rst

File metadata and controls

7 lines (6 loc) · 378 Bytes

~pytest.warns now re-emits unmatched warnings when the context closes -- previously it would consume all warnings, hiding those that were not matched by the function.

While this is a new feature, we decided to announce this as a breaking change because many test suites are configured to error-out on warnings, and will therefore fail on the newly-re-emitted warnings.