Skip to content

Commit 98cd193

Browse files
committed
Remove delete_marker_file writing in tests
Nothing checks for this file, so no need to write it.
1 parent e6cc9e9 commit 98cd193

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

tests/functional/test_install_cleanup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import pytest
55

66
from pip._internal.cli.status_codes import PREVIOUS_BUILD_DIR_ERROR
7-
from pip._internal.utils.marker_files import write_delete_marker_file
87
from tests.lib import need_mercurial, windows_workaround_7667
98
from tests.lib.local_repos import local_checkout
109

@@ -126,7 +125,6 @@ def test_cleanup_prevented_upon_build_dir_exception(script, data):
126125
build = script.venv_path / 'build'
127126
build_simple = build / 'simple'
128127
os.makedirs(build_simple)
129-
write_delete_marker_file(build_simple)
130128
build_simple.joinpath("setup.py").write_text("#")
131129
result = script.pip(
132130
'install', '-f', data.find_links, '--no-index', 'simple',

tests/functional/test_wheel.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import pytest
77

88
from pip._internal.cli.status_codes import ERROR, PREVIOUS_BUILD_DIR_ERROR
9-
from pip._internal.utils.marker_files import write_delete_marker_file
109
from tests.lib import pyversion
1110

1211

@@ -225,7 +224,6 @@ def test_pip_wheel_fail_cause_of_previous_build_dir(script, data):
225224
# Given that I have a previous build dir of the `simple` package
226225
build = script.venv_path / 'build' / 'simple'
227226
os.makedirs(build)
228-
write_delete_marker_file(script.venv_path / 'build' / 'simple')
229227
build.joinpath('setup.py').write_text('#')
230228

231229
# When I call pip trying to install things again

0 commit comments

Comments
 (0)