summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/test/cmd/env.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/test/cmd/env.py b/lib/spack/spack/test/cmd/env.py
index e465060392..ceefd3323b 100644
--- a/lib/spack/spack/test/cmd/env.py
+++ b/lib/spack/spack/test/cmd/env.py
@@ -788,7 +788,7 @@ def test_env_with_included_config_file(packages_file):
e = ev.read("test")
included_path = os.path.join(e.path, include_filename)
- fs.rename(packages_file.strpath, included_path)
+ shutil.move(packages_file.strpath, included_path)
with e:
e.concretize()