Merge pull request #2354 from shobute/patch-1

Corrected documentation typo in fixtures.py
This commit is contained in:
Bruno Oliveira 2017-04-07 14:31:36 -03:00 committed by GitHub
commit 47a2a77cb4
1 changed files with 10 additions and 10 deletions

View File

@ -841,8 +841,8 @@ class FixtureFunctionMarker:
def fixture(scope="function", params=None, autouse=False, ids=None, name=None):
""" (return a) decorator to mark a fixture factory function.
This decorator can be used (with or or without parameters) to define
a fixture function. The name of the fixture function can later be
This decorator can be used (with or without parameters) to define a
fixture function. The name of the fixture function can later be
referenced to cause its invocation ahead of running tests: test
modules or classes can use the pytest.mark.usefixtures(fixturename)
marker. Test functions can directly use fixture names as input