summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/relocate.py5
-rw-r--r--lib/spack/spack/test/packaging.py5
2 files changed, 0 insertions, 10 deletions
diff --git a/lib/spack/spack/relocate.py b/lib/spack/spack/relocate.py
index 52811dd8cc..c81fdb91ba 100644
--- a/lib/spack/spack/relocate.py
+++ b/lib/spack/spack/relocate.py
@@ -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")
diff --git a/lib/spack/spack/test/packaging.py b/lib/spack/spack/test/packaging.py
index 75891ce94c..879c38849a 100644
--- a/lib/spack/spack/test/packaging.py
+++ b/lib/spack/spack/test/packaging.py
@@ -185,9 +185,6 @@ echo $PATH"""
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):