We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4517af1 commit 6badb6fCopy full SHA for 6badb6f
changelog/10701.bugfix.rst
@@ -1 +1,2 @@
1
-``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,
2
+rather than the first warning which is an instance of the requested type.
0 commit comments