Commit 0206be18 authored by Stefan Behnel's avatar Stefan Behnel

Do not try to report coverage on files that we do not have sources for. See #1985.

parent 20326322
......@@ -100,6 +100,8 @@ class Plugin(CoveragePlugin):
if not c_file:
return None # unknown file
rel_file_path, code = self._parse_lines(c_file, filename)
if code is None:
return None # no source found
return CythonModuleReporter(c_file, filename, rel_file_path, code)
def _find_source_files(self, filename):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment