Commit 81c126c6 authored by Aaron M. Watson's avatar Aaron M. Watson

Made tracer search external modules

parent 7c206529
...@@ -245,7 +245,7 @@ class CythonModuleTracer(FileTracer): ...@@ -245,7 +245,7 @@ class CythonModuleTracer(FileTracer):
return self._file_path_map[source_file] return self._file_path_map[source_file]
except KeyError: except KeyError:
pass pass
abs_path = os.path.abspath(source_file) abs_path = _find_dep_file_path(filename, source_file)
if self.py_file and source_file[-3:].lower() == '.py': if self.py_file and source_file[-3:].lower() == '.py':
# always let coverage.py handle this case itself # always let coverage.py handle this case itself
......
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