We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I believe the docs as per pytest-from-python-code are incorrect. Their text is as follows:
pytest.main(['-x', 'mytestdir']) or pass in a string: pytest.main("-x mytestdir")
The string argument option flags a deprecation message, whereas I believe the array args option should be pytest.main([ 'mytestdir', '-x'])
pytest.main([ 'mytestdir', '-x'])
platform darwin -- Python 3.5.2, pytest-3.0.2, py-1.4.31, pluggy-0.3.1
The text was updated successfully, but these errors were encountered:
afc1e2b
Merge pull request #2009 from pytest-dev/RonnyPfannschmidt-patch-docs…
c0719a5
…-remove-main-string docs: remove mention of string args to main closes #2008
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: