summaryrefslogtreecommitdiff
path: root/.coveragerc
diff options
context:
space:
mode:
authorAlistair Coles <alistair.coles@hp.com>2015-09-21 10:01:54 +0100
committerAlistair Coles <alistair.coles@hp.com>2015-09-21 10:06:29 +0100
commit9e95613d717489da584531e220db20d1b8f43c51 (patch)
treea7472bed99feb43036dbce5a41bae6c95f60bcb8 /.coveragerc
parentf1b5a1f4c5f1f0755d78f560b282a8145dba0401 (diff)
downloadswift-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--.coveragerc2
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