Skip to content

Commit 88c9e92

Browse files
authored
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.
1 parent 72ad324 commit 88c9e92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/en/example/fixtures/test_fixtures_order_dependencies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def b(a, order):
1717

1818

1919
@pytest.fixture
20-
def c(a, b, order):
20+
def c(b, order):
2121
order.append("c")
2222

2323

doc/en/reference/fixtures.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ For example:
335335

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

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

340340
.. image:: /example/fixtures/test_fixtures_order_dependencies.*
341341
:align: center

0 commit comments

Comments
 (0)