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:
parent
4517af1e28
commit
6badb6f01e
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue