From cc01e89d6b0a615059fe3c8ac933230ed41930df Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sat, 25 Aug 2018 14:12:46 -0500 Subject: Update to latest version of pytest and dependencies (#9087) * Update to latest version of pytest and dependencies * Fix bug in installation tests --- lib/spack/spack/build_systems/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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)) -- cgit v1.2.3-60-g2f50