Fix .coveragrc to prevent nose tests error
Since v4.0 the coverage package raises an error if unrecognized options are found in .coveragrc [1]. Previously they were ignored. The ignore-errors option therefore causes nosetests with coverage to error because the option should be ignore_errors (underscore not hyphen). [1] https://bitbucket.org/ned/coveragepy/src/tip/CHANGES.rst Change-Id: Ic488801b7cc43217f9e2a4ed945e06505b667608
This commit is contained in:
parent
f1b5a1f4c5
commit
9e95613d71
@ -3,4 +3,4 @@ branch = True
|
|||||||
omit = /usr*,setup.py,*egg*,.venv/*,.tox/*,test/*
|
omit = /usr*,setup.py,*egg*,.venv/*,.tox/*,test/*
|
||||||
|
|
||||||
[report]
|
[report]
|
||||||
ignore-errors = True
|
ignore_errors = True
|
||||||
|
Loading…
Reference in New Issue
Block a user