Skip to content

Commit

Permalink
Avoid nose, use coverage run directly
Browse files Browse the repository at this point in the history
Because the nose-xcover plugin does something that breaks coverage
reporting in a way that makes it output the coverage of the entire
Python standar library in addition to the code we care about.

Also, this way tox.ini and .travis.yml use the same test command, which
is nice.
  • Loading branch information
mgedmin committed Jul 19, 2017
1 parent 2d55646 commit 408ff44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ commands =
# version, before running nosetests.
pip uninstall -y ZConfig
pip install -e .[test]
nosetests --with-xunit --with-xcoverage
coverage run setup.py -q test -q
coverage report -m
deps =
nose
coverage
nosexcover
{[testenv]deps}

0 comments on commit 408ff44

Please sign in to comment.