Skip to content

Commit fd5d8b3

Browse files
committed
Don't use deprecated git protocol in test
1 parent 061d3e9 commit fd5d8b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_req.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def test_unsupported_hashes(self, data: TestData) -> None:
206206
reqset = RequirementSet()
207207
reqset.add_unnamed_requirement(
208208
get_processed_req_from_line(
209-
"git+git://github.com/pypa/pip-test-package --hash=sha256:123",
209+
"git+https://github.com/pypa/pip-test-package --hash=sha256:123",
210210
lineno=1,
211211
)
212212
)
@@ -229,7 +229,7 @@ def test_unsupported_hashes(self, data: TestData) -> None:
229229
match=(
230230
r"Can't verify hashes for these requirements because we don't "
231231
r"have a way to hash version control repositories:\n"
232-
r" git\+git://github\.com/pypa/pip-test-package \(from -r "
232+
r" git\+http://github\.com/pypa/pip-test-package \(from -r "
233233
r"file \(line 1\)\)\n"
234234
r"Can't verify hashes for these file:// requirements because "
235235
r"they point to directories:\n"

0 commit comments

Comments
 (0)