Skip to content

Commit e601261

Browse files
authored
Remove a redundant paragraph
doc This paragraph looks like it is a more verbose version of the sentence right above it. Removing it doesn't reduce the amount of information here but does make the section flow a little better.
1 parent a44dcf5 commit e601261

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

doc/en/fixture.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,6 @@ At a basic level, test functions request fixtures by declaring them as
228228
arguments, as in the ``test_my_fruit_in_basket(my_fruit, fruit_basket):`` in the
229229
previous example.
230230

231-
At a basic level, pytest depends on a test to tell it what fixtures it needs, so
232-
we have to build that information into the test itself. We have to make the test
233-
"**request**" the fixtures it depends on, and to do this, we have to
234-
list those fixtures as parameters in the test function's "signature" (which is
235-
the ``def test_something(blah, stuff, more):`` line).
236-
237231
When pytest goes to run a test, it looks at the parameters in that test
238232
function's signature, and then searches for fixtures that have the same names as
239233
those parameters. Once pytest finds them, it runs those fixtures, captures what

0 commit comments

Comments
 (0)