summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2018-08-25 14:12:46 -0500
committerGitHub <noreply@github.com>2018-08-25 14:12:46 -0500
commitcc01e89d6b0a615059fe3c8ac933230ed41930df (patch)
treeedc95e2c3c9e1da7678201e2d733710038f91792 /lib
parent3c292de6bdfe4c058201afe4fdb34cf9a4da8da8 (diff)
downloadspack-cc01e89d6b0a615059fe3c8ac933230ed41930df.tar.gz
spack-cc01e89d6b0a615059fe3c8ac933230ed41930df.tar.bz2
spack-cc01e89d6b0a615059fe3c8ac933230ed41930df.tar.xz
spack-cc01e89d6b0a615059fe3c8ac933230ed41930df.zip
Update to latest version of pytest and dependencies (#9087)
* Update to latest version of pytest and dependencies * Fix bug in installation tests
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/build_systems/python.py b/lib/spack/spack/build_systems/python.py
index 7933253eed..aadb4e24a2 100644
--- a/lib/spack/spack/build_systems/python.py
+++ b/lib/spack/spack/build_systems/python.py
@@ -400,7 +400,7 @@ class PythonPackage(PackageBase):
# Make sure we are importing the installed modules,
# not the ones in the current directory
- with working_dir('..'):
+ with working_dir('spack-test', create=True):
for module in self.import_modules:
self.python('-c', 'import {0}'.format(module))