[python-dtcwt] 12/17: Update call to py.test --cov

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Mar 9 11:28:58 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository python-dtcwt.

commit 76528b2aea3d9996c20ef46bc39bc3d47ffd6161
Author: Rich Wareham <rjw57 at cam.ac.uk>
Date:   Tue Mar 8 15:41:30 2016 +0000

    Update call to py.test --cov
    
    Previously the coverage was run explicitly on the env site packaged directory.
    This is unnecessary and somewhat counter-productive when it comes to tracking
    the coverage via coveralls.
---
 tox.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tox.ini b/tox.ini
index f69c7e1..77a554b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -15,4 +15,4 @@ commands=
     # We can't list these in deps since pyopencl moans if numpy is not
     # fully installed at pip-install time.
     py{27,34}-opencl: pip install -rtests/opencl-requirements.txt
-    py.test --cov={envsitepackagesdir}/dtcwt --cov-report=term {posargs}
+    py.test --cov=dtcwt/ --cov-report=term {posargs}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-dtcwt.git



More information about the debian-science-commits mailing list