Skip to content

Commit

Permalink
Fix test_test_command_install_requirements with pip 20.3+
Browse files Browse the repository at this point in the history
  • Loading branch information
Chih-Hsuan Yen committed Dec 11, 2020
1 parent 2cfb491 commit 12fe738
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setuptools/tests/test_virtualenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import os
import sys

import pathlib

import pytest
from pytest import yield_fixture
from pytest_fixture_config import yield_requires_config
Expand Down Expand Up @@ -124,7 +126,7 @@ def sdist(distname, version):
make_nspkg_sdist(str(dist_path), distname, version)
return dist_path
dependency_links = [
str(dist_path)
pathlib.Path(str(dist_path)).as_uri()
for dist_path in (
sdist('foobar', '2.4'),
sdist('bits', '4.2'),
Expand Down

0 comments on commit 12fe738

Please sign in to comment.