Skip to content

Commit

Permalink
Omit coverage on code that doesn't execute on linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
thebjorn committed Apr 29, 2016
1 parent 11c38aa commit f8685c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dkfileutils/which.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def match(filenames):

fn_name, fn_ext = os.path.splitext(fname)
if name == fn_name:
for suffix in exe:
for suffix in exe: # pragma: nocover
if name + fn_ext == fname:
res.add(fname)

Expand Down

0 comments on commit f8685c0

Please sign in to comment.