summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-yt
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-yt')
-rw-r--r--var/spack/repos/builtin/packages/py-yt/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-yt/package.py b/var/spack/repos/builtin/packages/py-yt/package.py
index 6ab967d8a5..4a61bfcec9 100644
--- a/var/spack/repos/builtin/packages/py-yt/package.py
+++ b/var/spack/repos/builtin/packages/py-yt/package.py
@@ -65,7 +65,7 @@ class PyYt(PythonPackage):
depends_on("py-sympy", type=('build', 'run'))
depends_on("python @2.7:2.999,3.4:")
- @PythonPackage.sanity_check('install')
+ @run_after('install')
def check_install(self):
# The Python interpreter path can be too long for this
# yt = Executable(join_path(prefix.bin, "yt"))