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 44a3ab3 commit 00eac21Copy full SHA for 00eac21
newsfragments/75.feature.rst
@@ -1,4 +1,6 @@
1
Incompatible change: if you use ``yield`` inside a Trio fixture, and
2
the ``yield`` gets cancelled (for example, due to a background task
3
crashing), then the ``yield`` will now raise :exc:`trio.Cancelled`.
4
-See :ref:`cancel-yield` for details.
+See :ref:`cancel-yield` for details. Also, in this same case,
5
+pytest-trio will now reliably mark the test as failed, even if the
6
+fixture doesn't go on to raise an exception.
0 commit comments