summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-scipy/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-scipy/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-scipy/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-scipy/package.py b/var/spack/repos/builtin/packages/py-scipy/package.py
index 7aba6223ef..acf93a6f25 100644
--- a/var/spack/repos/builtin/packages/py-scipy/package.py
+++ b/var/spack/repos/builtin/packages/py-scipy/package.py
@@ -97,5 +97,5 @@ class PyScipy(PythonPackage):
# ImportError: Error importing scipy: you should not try to import
# scipy from its source directory; please exit the scipy
# source tree, and relaunch your python interpreter from there.
- with working_dir('..'):
+ with working_dir('spack-test', create=True):
python('-c', 'import scipy; scipy.test("full", verbose=2)')