diff --git a/doc/en/how-to/fixtures.rst b/doc/en/how-to/fixtures.rst index d4aa13a7d..9498442c8 100644 --- a/doc/en/how-to/fixtures.rst +++ b/doc/en/how-to/fixtures.rst @@ -750,6 +750,7 @@ Consider the differences in the following examples: request.addfinalizer(partial(print, "finalizer_2")) request.addfinalizer(partial(print, "finalizer_1")) + @pytest.fixture def fix_w_yield(): yield