Commit d67c022b authored by Ronny Pfannschmidt's avatar Ronny Pfannschmidt

also use pytest_cov in the normal pytest script

parent c3247157
......@@ -9,6 +9,8 @@ from _pytest import core as cmdline
from _pytest import __version__
if __name__ == '__main__': # if run as a script or by 'python -m pytest'
raise SystemExit(main())
#XXX: sync to upstream later
import pytest_cov
raise SystemExit(main(plugins=[pytest_cov]))
_preloadplugins() # to populate pytest.* namespace so help(pytest) works
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment