Skip to content

Commit 1a0b7f4

Browse files
sbidoulpradyunsg
authored andcommitted
Remove test_installed_files_recorded_in_deterministic_order
This test will become useless anyway when we remove setup.py install support.
1 parent 8a1a8d7 commit 1a0b7f4

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

tests/functional/test_install.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,28 +1945,6 @@ def test_installing_scripts_on_path_does_not_print_warning(
19451945
assert "--no-warn-script-location" not in result.stderr
19461946

19471947

1948-
def test_installed_files_recorded_in_deterministic_order(
1949-
script: PipTestEnvironment, data: TestData
1950-
) -> None:
1951-
"""
1952-
Ensure that we record the files installed by a package in a deterministic
1953-
order, to make installs reproducible.
1954-
"""
1955-
to_install = data.packages.joinpath("FSPkg")
1956-
result = script.pip("install", to_install)
1957-
fspkg_folder = script.site_packages / "fspkg"
1958-
egg_info = f"FSPkg-0.1.dev0-py{pyversion}.egg-info"
1959-
installed_files_path = script.site_packages / egg_info / "installed-files.txt"
1960-
result.did_create(fspkg_folder)
1961-
result.did_create(installed_files_path)
1962-
1963-
installed_files_path = result.files_created[installed_files_path].full
1964-
installed_files_lines = [
1965-
p for p in Path(installed_files_path).read_text().split("\n") if p
1966-
]
1967-
assert installed_files_lines == sorted(installed_files_lines)
1968-
1969-
19701948
def test_install_conflict_results_in_warning(
19711949
script: PipTestEnvironment, data: TestData
19721950
) -> None:

0 commit comments

Comments
 (0)