Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
0206be18
Commit
0206be18
authored
Nov 10, 2017
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not try to report coverage on files that we do not have sources for. See #1985.
parent
20326322
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
Cython/Coverage.py
Cython/Coverage.py
+2
-0
No files found.
Cython/Coverage.py
View file @
0206be18
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment