Merge pull request #3590 from alexbarbato/3525_typo_fixture_docs
3525 typo fixture docs
This commit is contained in:
1
changelog/3525.trivial.rst
Normal file
1
changelog/3525.trivial.rst
Normal file
@@ -0,0 +1 @@
|
||||
Update old quotation style to parens in fixture.rst documentation.
|
||||
@@ -165,7 +165,7 @@ Scope: sharing a fixture instance across tests in a class, module or session
|
||||
|
||||
Fixtures requiring network access depend on connectivity and are
|
||||
usually time-expensive to create. Extending the previous example, we
|
||||
can add a ``scope='module'`` parameter to the
|
||||
can add a ``scope="module"`` parameter to the
|
||||
:py:func:`@pytest.fixture <_pytest.python.fixture>` invocation
|
||||
to cause the decorated ``smtp`` fixture function to only be invoked once
|
||||
per test *module* (the default is to invoke once per test *function*).
|
||||
|
||||
Reference in New Issue
Block a user