Skip to content

Commit 887d236

Browse files
committed
Test for dist-info instead of egg-info
1 parent 269a0d0 commit 887d236

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/functional/test_install_user.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,16 +133,15 @@ def test_install_user_conflict_in_usersite(
133133
result2 = script.pip("install", "--user", "INITools==0.1", "--no-binary=:all:")
134134

135135
# usersite has 0.1
136-
# we still test for egg-info because no-binary implies setup.py install
137-
egg_info_folder = script.user_site / f"INITools-0.1-py{pyversion}.egg-info"
136+
dist_info_folder = script.user_site / "INITools-0.1.dist-info"
138137
initools_v3_file = (
139138
# file only in 0.3
140139
script.base_path
141140
/ script.user_site
142141
/ "initools"
143142
/ "configparser.py"
144143
)
145-
result2.did_create(egg_info_folder)
144+
result2.did_create(dist_info_folder)
146145
assert not isfile(initools_v3_file), initools_v3_file
147146

148147
def test_install_user_conflict_in_globalsite(

0 commit comments

Comments
 (0)