remove unused global in bindist tests (#37358)
* remove unused global in bindist tests * remove unused function
This commit is contained in:
parent
71aa12f72c
commit
7c8590ee44
2 changed files with 0 additions and 10 deletions
|
@ -139,11 +139,6 @@ def _normalize_relative_paths(start_path, relative_paths):
|
|||
return normalized_paths
|
||||
|
||||
|
||||
def _placeholder(dirname):
|
||||
"""String of of @'s with same length of the argument"""
|
||||
return "@" * len(dirname)
|
||||
|
||||
|
||||
def _decode_macho_data(bytestring):
|
||||
return bytestring.rstrip(b"\x00").decode("ascii")
|
||||
|
||||
|
|
|
@ -185,9 +185,6 @@ def test_buildcache(mock_archive, tmpdir):
|
|||
shutil.rmtree(mirror_path)
|
||||
stage.destroy()
|
||||
|
||||
# Remove cached binary specs since we deleted the mirror
|
||||
bindist._cached_specs = set()
|
||||
|
||||
|
||||
@pytest.mark.usefixtures("install_mockery")
|
||||
def test_relocate_text(tmpdir):
|
||||
|
@ -208,8 +205,6 @@ def test_relocate_text(tmpdir):
|
|||
for line in script:
|
||||
assert new_dir in line
|
||||
ensure_binary_is_relocatable(os.path.realpath(filename))
|
||||
# Remove cached binary specs since we deleted the mirror
|
||||
bindist._cached_specs = set()
|
||||
|
||||
|
||||
def test_relocate_links(tmpdir):
|
||||
|
|
Loading…
Reference in a new issue