-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
plugin: warningsrelated to the warnings builtin pluginrelated to the warnings builtin pluginplugin: xdistrelated to the xdist external pluginrelated to the xdist external plugintype: bugproblem that needs to be addressedproblem that needs to be addressed
Description
Hi,
Part of my code imports the xdist plugin.
As a result I receive
================================================ warnings summary ================================================
/path/to/my/ve/local/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:268: PytestWarning: Module already imported so cannot be rewritten: xdist
self.config,
/path/to/my/ve/local/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:268: PytestWarning: Module already imported so cannot be rewritten: xdist
self.config,
-- Docs: https://docs.pytest.org/en/latest/warnings.html
I tried filtering with:
- -p no:warnings -> no luck
- --disable-pytest-warnings -> removes the warning but the summary is still yellow
- @pytest.mark.filterwarnings -> no luck
- native python warning.filterwarnings -> no luck
How can I filter this specific warning???
pytest version - 3.8.2
endolith and hammer498
Metadata
Metadata
Assignees
Labels
plugin: warningsrelated to the warnings builtin pluginrelated to the warnings builtin pluginplugin: xdistrelated to the xdist external pluginrelated to the xdist external plugintype: bugproblem that needs to be addressedproblem that needs to be addressed