Apply suggestions from code review

chore(changelog): describe better the fix

Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
This commit is contained in:
Milan Lesnek 2023-07-04 08:59:58 +02:00
parent 4517af1e28
commit 6badb6f01e
1 changed files with 2 additions and 1 deletions

View File

@ -1 +1,2 @@
``pytest.WarningsRecorder.pop`` now also pop most recent subclass of warning.
:meth:`pytest.WarningsRecorder.pop` will return the most-closely-matched warning in the list,
rather than the first warning which is an instance of the requested type.