Merge pull request #8322 from pytest-dev/fixture-docs

doc: Remove confusing fixture sentence
This commit is contained in:
Bruno Oliveira 2021-02-05 15:11:17 -03:00 committed by GitHub
commit 150bdceb7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -174,9 +174,6 @@ Back to fixtures
"Fixtures", in the literal sense, are each of the **arrange** steps and data. They're "Fixtures", in the literal sense, are each of the **arrange** steps and data. They're
everything that test needs to do its thing. everything that test needs to do its thing.
At a basic level, test functions request fixtures by declaring them as
arguments, as in the ``test_ehlo(smtp_connection):`` in the previous example.
In pytest, "fixtures" are functions you define that serve this purpose. But they In pytest, "fixtures" are functions you define that serve this purpose. But they
don't have to be limited to just the **arrange** steps. They can provide the don't have to be limited to just the **arrange** steps. They can provide the
**act** step, as well, and this can be a powerful technique for designing more **act** step, as well, and this can be a powerful technique for designing more