remove some code from coverage calculation

This commit is contained in:
Stefan Kögl
2013-07-07 19:01:59 +02:00
parent faa346f16b
commit 1b56912e68

15
.coveragerc Normal file
View File

@@ -0,0 +1,15 @@
# .coveragerc to control coverage.py
[run]
branch = True
[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# No need to test __repr__
def __repr__
# Python 2/3 compatibility
except ImportError