The fin() function was never added as a finalizer and did therefore not print
anything in the captured output.
In general improve the output by making it more verbose/explicit and extend the
final explanation.
The feature has been there for a long time and in the 2.7.1 release notes it
says:
> fixed docs to remove the notion that yield-fixtures are experimental.
Therefore this one place was probably just missed.
It certainly wasn't clear to me that the variable assigned by
pytest.mark.usefixtures should also be called pytestmark,
so I was confused when::
foo = pytest.mark.usefixtures('fixture_bar')
wasn't behaving as expected; correct usage is of course::
pytestmark = pytest.mark.usefixtures('fixture_bar')
I assume this is by design, otherwise that's a separate issue, at
least current behaviour should be documented.