Minor updates to fixtures docs (#10724)

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.
This commit is contained in:
Billy 2023-02-28 10:42:33 -05:00 committed by GitHub
parent 72ad32411f
commit 88c9e92258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ def b(a, order):
@pytest.fixture @pytest.fixture
def c(a, b, order): def c(b, order):
order.append("c") order.append("c")

View File

@ -335,7 +335,7 @@ For example:
.. literalinclude:: /example/fixtures/test_fixtures_order_dependencies.py .. 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.* .. image:: /example/fixtures/test_fixtures_order_dependencies.*
:align: center :align: center