Skip to content

Commit

Permalink
[7.0.x] Autouse linearization graph (#9557)
Browse files Browse the repository at this point in the history
Co-authored-by: Bruno Oliveira <[email protected]>
  • Loading branch information
github-actions[bot] and nicoddemus authored Jan 27, 2022
1 parent 28e5b3b commit 4b1707f
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
56 changes: 56 additions & 0 deletions doc/en/example/fixtures/test_fixtures_order_autouse_flat.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions doc/en/reference/fixtures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,9 @@ the graph would look like this:
Because ``c`` can now be put above ``d`` in the graph, pytest can once again
linearize the graph to this:

.. image:: /example/fixtures/test_fixtures_order_autouse_flat.*
:align: center

In this example, ``c`` makes ``b`` and ``a`` effectively autouse fixtures as
well.

Expand Down

0 comments on commit 4b1707f

Please sign in to comment.