mirror of https://github.com/pytest-dev/pytest.git
[7.2.x] made minor updates to fixtures docs (#10778)
Co-authored-by: Billy <william.j.kern@gmail.com>
This commit is contained in:
parent
2fd4549db5
commit
e8e7d44a4c
|
@ -17,7 +17,7 @@ def b(a, order):
|
|||
|
||||
|
||||
@pytest.fixture
|
||||
def c(a, b, order):
|
||||
def c(b, order):
|
||||
order.append("c")
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue