Open
Description
When I run my tests using pytest==3.0.6
and pytest-cov==2.4.0
, I see the following warning:
======================= pytest-warning summary ======================
WP1 None Module already imported so can not be re-written: pytest_cov
============ 1 passed, 1 pytest-warnings in 0.09 seconds ============
which unfortunately causes pytest to return a non-zero exit code and make the test suite as failing.
I don't see this warning with pytest==2.9.2
.
If it helps, I found a similar issue reported in another library: pytest-dev/pytest-testinfra#125