diff options
author | 2011-07-21 23:59:30 +0200 | |
---|---|---|
committer | 2011-07-21 23:59:30 +0200 | |
commit | d67c022b8e8103ce61229b0f6b48ee71c10fe21b (patch) | |
tree | 3864387ff87d8aabc51735c58a899af61f5faf53 /pytest.py | |
parent | inline the pytest coverage plugin, and autoload it in pypy/test_all.py (diff) | |
download | pypy-d67c022b8e8103ce61229b0f6b48ee71c10fe21b.tar.gz pypy-d67c022b8e8103ce61229b0f6b48ee71c10fe21b.tar.bz2 pypy-d67c022b8e8103ce61229b0f6b48ee71c10fe21b.zip |
also use pytest_cov in the normal pytest script
Diffstat (limited to 'pytest.py')
-rwxr-xr-x | pytest.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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])) else: _preloadplugins() # to populate pytest.* namespace so help(pytest) works |