From 88c9e92258a15697c4f125ea1b930856ebe2975f Mon Sep 17 00:00:00 2001 From: Billy Date: Tue, 28 Feb 2023 10:42:33 -0500 Subject: [PATCH] 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. --- doc/en/example/fixtures/test_fixtures_order_dependencies.py | 2 +- doc/en/reference/fixtures.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/en/example/fixtures/test_fixtures_order_dependencies.py b/doc/en/example/fixtures/test_fixtures_order_dependencies.py index b3512c2a6..e76e3f93c 100644 --- a/doc/en/example/fixtures/test_fixtures_order_dependencies.py +++ b/doc/en/example/fixtures/test_fixtures_order_dependencies.py @@ -17,7 +17,7 @@ def b(a, order): @pytest.fixture -def c(a, b, order): +def c(b, order): order.append("c") diff --git a/doc/en/reference/fixtures.rst b/doc/en/reference/fixtures.rst index d25979ab9..01f825222 100644 --- a/doc/en/reference/fixtures.rst +++ b/doc/en/reference/fixtures.rst @@ -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