Skip to content

Commit 6e687c4

Browse files
authored
Doc fix: m1 isn't a dependency of f1.
According to the file in `example/fixtures/test_fixtures_order.py`, m1 isn't a dependency of f1.
1 parent 66cfc66 commit 6e687c4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/en/fixture.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,6 @@ The fixtures requested by ``test_foo`` will be instantiated in the following ord
307307

308308
1. ``s1``: is the highest-scoped fixture (``session``).
309309
2. ``m1``: is the second highest-scoped fixture (``module``).
310-
because it is a dependency of ``f1``.
311310
3. ``a1``: is a ``function``-scoped ``autouse`` fixture: it will be instantiated before other fixtures
312311
within the same scope.
313312
4. ``f3``: is a ``function``-scoped fixture, required by ``f1``: it needs to be instantiated at this point
@@ -501,7 +500,7 @@ of a fixture is needed multiple times in a single test. Instead of returning
501500
data directly, the fixture instead returns a function which generates the data.
502501
This function can then be called multiple times in the test.
503502

504-
Factories can have have parameters as needed::
503+
Factories can have parameters as needed::
505504

506505
@pytest.fixture
507506
def make_customer_record():

0 commit comments

Comments
 (0)