Skip to content

Commit b904494

Browse files
committed
Re-word somewhat-awkward sentence
1 parent aa5ea7a commit b904494

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

pytest_trio/plugin.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ def pytest_exception_interact(node, call, report):
9191
# and do something sensible with it.
9292
#
9393
# You should think of fixtures as a dependency graph: each fixtures *uses*
94-
# zero or more other fixtures, and is *used by* zero or more other fixtures. A
95-
# fixture should be setup before any of the fixtures it is used by are setup,
96-
# and it should be torn down as soon as all of the fixtures that use it are
97-
# torn down. And at root of this dependency graph, we have the test itself,
94+
# zero or more other fixtures, and is *used by* zero or more other fixtures.
95+
# A fixture should be setup before any of its dependees are setup, and torn
96+
# down once all of its dependees have terminated.
97+
# At the root of this dependency graph, we have the test itself,
9898
# which is just like a fixture except that instead of having a separate setup
9999
# and teardown phase, it runs straight through.
100100
#

0 commit comments

Comments
 (0)