Made coverage ignore files without associated source code.
This only affests reporting not data collection and allows coverage.py to succesfully finish the generation of e.g. the HTML report. Cases of code whose execution data is collected during the run phase but for which no associated source code files can be found at the reporting phase include tests with egg files and Python module files created at test execution-time.
This commit is contained in:
parent
72712755c4
commit
51a9a5980a
|
@ -1,5 +1,8 @@
|
||||||
[run]
|
[run]
|
||||||
omit = */django/contrib/*/tests*,*/django/utils/unittest*,*/django/utils/importlib.py,*/django/test/_doctest.py,*/django/core/servers/fastcgi.py,*/django/utils/autoreload.py,*/django/utils/dictconfig.py
|
omit = */django/contrib/*/tests*,*/django/utils/unittest*,*/django/utils/importlib.py,*/django/test/_doctest.py,*/django/core/servers/fastcgi.py,*/django/utils/autoreload.py,*/django/utils/dictconfig.py
|
||||||
|
|
||||||
|
[report]
|
||||||
|
ignore_errors = True
|
||||||
|
|
||||||
[html]
|
[html]
|
||||||
directory = coverage_html
|
directory = coverage_html
|
||||||
|
|
Loading…
Reference in New Issue