Update fixtures.py

Corrected "or or" typo in docstring (and made indentation consistent).
This commit is contained in:
Ben Lloyd 2017-04-07 16:48:38 +01:00 committed by GitHub
parent 8c69d5c939
commit 21f1c2b03f
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