Skip to content

Commit 6d433ad

Browse files
committed
Update pip show test that depends on legacy install method
1 parent 11a23f8 commit 6d433ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/data/packages/SetupPyUTF8/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from distutils.core import setup
1+
from setuptools import setup
22

33
setup(
44
name="SetupPyUTF8",

tests/functional/test_show.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_show_with_files_not_found(script: PipTestEnvironment, data: TestData) -
3636
installed-files.txt not found.
3737
"""
3838
editable = data.packages.joinpath("SetupPyUTF8")
39-
script.pip("install", "-e", editable)
39+
script.run("python", "setup.py", "develop", cwd=editable)
4040
result = script.pip("show", "-f", "SetupPyUTF8")
4141
lines = result.stdout.splitlines()
4242
assert len(lines) == 13

0 commit comments

Comments
 (0)