1. Stian Andreassen
  2. pypy-improvebigint


Ronny Pfannschmidt  committed ff4a90f

also use pytest_cov in the normal pytest script

Comments (0)

Files changed (1)

File pytest.py Modified

View file
  • Ignore whitespace
  • Hide word diff
 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