Skip to content

Commit 00eac21

Browse files
committed
Update newsfragment
1 parent 44a3ab3 commit 00eac21

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

newsfragments/75.feature.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
Incompatible change: if you use ``yield`` inside a Trio fixture, and
22
the ``yield`` gets cancelled (for example, due to a background task
33
crashing), then the ``yield`` will now raise :exc:`trio.Cancelled`.
4-
See :ref:`cancel-yield` for details.
4+
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

Comments
 (0)