Browse files

Made coverage ignore files without associated source code.

This only affests reporting not data collection and allows
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.
  • Loading branch information...
ramiro committed Aug 26, 2013
1 parent 7271275 commit 51a9a5980af3b4762d09c4aa4551d370a1b8b9a8
Showing with 3 additions and 0 deletions.
  1. +3 −0 tests/.coveragerc
@@ -1,5 +1,8 @@
omit = */django/contrib/*/tests*,*/django/utils/unittest*,*/django/utils/,*/django/test/,*/django/core/servers/,*/django/utils/,*/django/utils/
+ignore_errors = True
directory = coverage_html

0 comments on commit 51a9a59

Please sign in to comment.