Skip to content

Commit

Permalink
Remove req.url check in candidate construction
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr committed Mar 5, 2020
1 parent dc63d24 commit 5265557
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pip/_internal/resolution/resolvelib/candidates.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ def __init__(self, ireq, dist):
# type: (InstallRequirement, Distribution) -> None
assert ireq.link is not None, "Candidate should be pinned"
assert ireq.req is not None, "Un-specified requirement not allowed"
assert ireq.req.url is not None, "Candidate should be pinned"
self._ireq = ireq
self._dist = dist

Expand Down

0 comments on commit 5265557

Please sign in to comment.