Merge pull request #3590 from alexbarbato/3525_typo_fixture_docs

3525 typo fixture docs
This commit is contained in:
Anthony Sottile
2018-06-16 13:28:21 -07:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -0,0 +1 @@
Update old quotation style to parens in fixture.rst documentation.

View File

@@ -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*).