Update fixtures.py
Corrected "or or" typo in docstring (and made indentation consistent).
This commit is contained in:
parent
8c69d5c939
commit
21f1c2b03f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue