diff --git a/doc/en/how-to/fixtures.rst b/doc/en/how-to/fixtures.rst index 080138774..ae3f447ef 100644 --- a/doc/en/how-to/fixtures.rst +++ b/doc/en/how-to/fixtures.rst @@ -129,10 +129,11 @@ example would work if we did it by hand: .. code-block:: python + @pytest.fixture def first_entry(): return "a" - + @pytest.fixture def order(first_entry): return [first_entry]