Skip to content

Commit

Permalink
Minor updates to fixtures docs (pytest-dev#10724)
Browse files Browse the repository at this point in the history
Updated the c fixture to be a little more consistent with other fixtures in the corresponding image. for example both e and g both have edges connected with the fixtures that they explicitly depend on.
  • Loading branch information
billykern authored and aless10 committed Mar 1, 2023
1 parent c20cb1c commit 52655ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -17,7 +17,7 @@ def b(a, order):


@pytest.fixture
def c(a, b, order):
def c(b, order):
order.append("c")


Expand Down
2 changes: 1 addition & 1 deletion doc/en/reference/fixtures.rst
Expand Up @@ -335,7 +335,7 @@ For example:

.. literalinclude:: /example/fixtures/test_fixtures_order_dependencies.py

If we map out what depends on what, we get something that look like this:
If we map out what depends on what, we get something that looks like this:

.. image:: /example/fixtures/test_fixtures_order_dependencies.*
:align: center
Expand Down

0 comments on commit 52655ad

Please sign in to comment.