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
pytest 4.0.0, pytest-cov 2.6.0
pytest does not recognize the addopts or doctest_optionflags options in the following setup.cfg:
addopts
doctest_optionflags
setup.cfg
[tools:pytest] addopts = --doctest-modules --doctest-glob='*.rst' doctest_optionflags = ALLOW_UNICODE ALLOW_BYTES ELLIPSIS NORMALIZE_WHITESPACE
Renaming the section to pytest causes both options to be recognized and the following warning:
pytest
_pytest/config/findpaths.py:44: RemovedInPytest4Warning: [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.
I am invoking pytest as pytest -v (i.e., not specifying a config, and therefore this appears to be distinct from #1831).
pytest -v
No other config files are present.
The text was updated successfully, but these errors were encountered:
Mea culpa. I worked on this for hours. Now I can't reproduce it. No idea why, but closing now. Sorry for the chatter.
Sorry, something went wrong.
JFI: pytest prints the inifile in its header - so check that in general.
No branches or pull requests
pytest 4.0.0, pytest-cov 2.6.0
pytest does not recognize the
addopts
ordoctest_optionflags
options in the followingsetup.cfg
:Renaming the section to
pytest
causes both options to be recognized and the following warning:I am invoking pytest as
pytest -v
(i.e., not specifying a config, and therefore this appears to be distinct from #1831).No other config files are present.
The text was updated successfully, but these errors were encountered: