mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-08 15:05:15 +02:00
[coverage] some more restrictions
This commit is contained in:
parent
4ee3799773
commit
c6594f1bc3
1 changed files with 3 additions and 4 deletions
|
|
@ -9,17 +9,16 @@ omit = ./GPy/testing/*.py, travis_tests.py, setup.py, ./GPy/__version__.py
|
||||||
exclude_lines =
|
exclude_lines =
|
||||||
# Have to re-enable the standard pragma
|
# Have to re-enable the standard pragma
|
||||||
pragma: no cover
|
pragma: no cover
|
||||||
|
verbose
|
||||||
|
|
||||||
# Don't complain about missing debug-only code:
|
# Don't complain about missing debug-only code:
|
||||||
if self\.debug
|
if self\.debug
|
||||||
|
|
||||||
# Don't complain if tests don't hit defensive assertion code:
|
# Don't complain if tests don't hit defensive assertion code:
|
||||||
raise AssertionError
|
raise
|
||||||
raise NotImplementedError
|
|
||||||
raise NotImplemented
|
|
||||||
except
|
except
|
||||||
pass
|
pass
|
||||||
|
Not implemented
|
||||||
|
|
||||||
# Don't complain if non-runnable code isn't run:
|
# Don't complain if non-runnable code isn't run:
|
||||||
if 0:
|
if 0:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue