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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Consider this file:
import logging logger = logging.getLogger(__name__) def test(): logger.warn('Some warning')
When executing pytest foo.py -n2, the warning is printed to the console:
pytest foo.py -n2
============================= test session starts ============================= platform win32 -- Python 3.5.0, pytest-3.3.1, py-1.5.2, pluggy-0.6.0 rootdir: C:\Users\bruno, inifile: plugins: xdist-1.20.1, forked-0.2 gw0 [1] / gw1 [1] scheduling tests via LoadScheduling foo.py 6 WARNING Some warning . [100%] ========================== 1 passed in 0.65 seconds ===========================
Executing pytest normally without the -n2 flags then the message is not printed.
pytest
-n2
Using pytest 3.3.1 and xdist 1.20.1.
pytest 3.3.1
xdist 1.20.1
The text was updated successfully, but these errors were encountered:
Closed in favor of pytest-dev/pytest#3009
Sorry, something went wrong.
nicoddemus
No branches or pull requests
Consider this file:
When executing
pytest foo.py -n2
, the warning is printed to the console:Executing
pytest
normally without the-n2
flags then the message is not printed.Using
pytest 3.3.1
andxdist 1.20.1
.The text was updated successfully, but these errors were encountered: