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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
396fee59
Commit
396fee59
authored
Feb 20, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coverage: prefer .c/.cpp file that was explicitly asked for over trying to find one ourselves
parent
1a4286f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Cython/Coverage.py
Cython/Coverage.py
+3
-1
No files found.
Cython/Coverage.py
View file @
396fee59
...
...
@@ -79,7 +79,9 @@ class Plugin(CoveragePlugin):
# none of our business
return
None
,
None
if
os
.
path
.
exists
(
basename
+
'.c'
):
if
ext
in
(
'.c'
,
'.cpp'
):
c_file
=
filename
elif
os
.
path
.
exists
(
basename
+
'.c'
):
c_file
=
basename
+
'.c'
elif
os
.
path
.
exists
(
basename
+
'.cpp'
):
c_file
=
basename
+
'.cpp'
...
...
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