summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/test/relocate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/test/relocate.py b/lib/spack/spack/test/relocate.py
index 9a395ac9d5..113bdcf66a 100644
--- a/lib/spack/spack/test/relocate.py
+++ b/lib/spack/spack/test/relocate.py
@@ -65,7 +65,7 @@ def test_file_is_relocatable(source_file, is_relocatable):
)
def test_patchelf_is_relocatable():
patchelf = spack.relocate.get_patchelf()
- assert spack.relocate.is_binary(patchelf)
+ assert llnl.util.filesystem.is_exe(patchelf)
assert spack.relocate.file_is_relocatable(patchelf)