-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
docs error pytest.main #2008
Copy link
Copy link
Closed
Labels
type: bugproblem that needs to be addressedproblem that needs to be addressedtype: docsdocumentation improvement, missing or needing clarificationdocumentation improvement, missing or needing clarification
Metadata
Metadata
Assignees
Labels
type: bugproblem that needs to be addressedproblem that needs to be addressedtype: docsdocumentation improvement, missing or needing clarificationdocumentation improvement, missing or needing clarification
I believe the docs as per pytest-from-python-code are incorrect. Their text is as follows:
The string argument option flags a deprecation message, whereas I believe the array args option should be
pytest.main([ 'mytestdir', '-x'])platform darwin -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1