Skip to content

Commit 9bc2e87

Browse files
committed
Ignore coverage for file urls.
1 parent 1a0cbf5 commit 9bc2e87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools/package_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ def _download_vcs(self, url, spec_filename):
880880

881881
def _download_other(self, url, filename):
882882
scheme = urllib.parse.urlsplit(url).scheme
883-
if scheme == 'file':
883+
if scheme == 'file': # pragma: no cover
884884
return urllib.request.url2pathname(urllib.parse.urlparse(url).path)
885885
# raise error if not allowed
886886
self.url_ok(url, True)

0 commit comments

Comments
 (0)