diff options
author | Alistair Coles <alistair.coles@hp.com> | 2015-09-21 10:01:54 +0100 |
---|---|---|
committer | Alistair Coles <alistair.coles@hp.com> | 2015-09-21 10:06:29 +0100 |
commit | 9e95613d717489da584531e220db20d1b8f43c51 (patch) | |
tree | a7472bed99feb43036dbce5a41bae6c95f60bcb8 /.coveragerc | |
parent | f1b5a1f4c5f1f0755d78f560b282a8145dba0401 (diff) | |
download | swift-9e95613d717489da584531e220db20d1b8f43c51.tar.gz |
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
Diffstat (limited to '.coveragerc')
-rw-r--r-- | .coveragerc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.coveragerc b/.coveragerc index 5893dbe75..52c7ed7b8 100644 --- a/.coveragerc +++ b/.coveragerc @@ -3,4 +3,4 @@ branch = True omit = /usr*,setup.py,*egg*,.venv/*,.tox/*,test/* [report] -ignore-errors = True +ignore_errors = True |