numirias / pytest-json-report

🗒️ A pytest plugin to report test results as JSON
MIT License
146 stars 39 forks source link

`PytestAssertRewriteWarning` error - how to debug it? #92

Open DeflateAwning opened 11 months ago

DeflateAwning commented 11 months ago
======================================================================================= warnings summary =======================================================================================
venv/lib/python3.9/site-packages/_pytest/config/__init__.py:1207
/venv/lib/python3.9/site-packages/_pytest/config/__init__.py:1207: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: pytest_jsonreport
    self._mark_plugins_for_rewrite(hook)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

It would be helpful to add more info about what's going on there to a Troubleshooting section of the README