summaryrefslogtreecommitdiff
path: root/lib/spack/spack/test/packaging.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spack/spack/test/packaging.py')
-rw-r--r--lib/spack/spack/test/packaging.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/spack/spack/test/packaging.py b/lib/spack/spack/test/packaging.py
index 2999ff0608..43193b578c 100644
--- a/lib/spack/spack/test/packaging.py
+++ b/lib/spack/spack/test/packaging.py
@@ -16,7 +16,7 @@ from collections import OrderedDict
import pytest
-from llnl.util.filesystem import mkdirp, touchp
+from llnl.util.filesystem import mkdirp
from llnl.util.symlink import symlink
import spack.binary_distribution as bindist
@@ -188,15 +188,8 @@ def test_relocate_links(tmpdir):
own_prefix_path = str(tmpdir.join("prefix_a", "file"))
dep_prefix_path = str(tmpdir.join("prefix_b", "file"))
- new_own_prefix_path = str(tmpdir.join("new_prefix_a", "file"))
- new_dep_prefix_path = str(tmpdir.join("new_prefix_b", "file"))
system_path = os.path.join(os.path.sep, "system", "path")
- touchp(own_prefix_path)
- touchp(new_own_prefix_path)
- touchp(dep_prefix_path)
- touchp(new_dep_prefix_path)
-
# Old prefixes to new prefixes
prefix_to_prefix = OrderedDict(
[