summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/multimethod-inheritor/package.py
diff options
context:
space:
mode:
authorGregory Becker <becker33@llnl.gov>2018-12-03 17:14:43 -0800
committerGreg Becker <becker33@llnl.gov>2018-12-06 15:48:23 -0800
commit7bb7b946667723aa0121551aaf4cb1ac6509c797 (patch)
tree166705e041c32d0e636e876ace344a6201835d34 /var/spack/repos/builtin.mock/packages/multimethod-inheritor/package.py
parentf35a91a88aede5b03a4fe025e8107bb5679c4f61 (diff)
downloadspack-7bb7b946667723aa0121551aaf4cb1ac6509c797.tar.gz
spack-7bb7b946667723aa0121551aaf4cb1ac6509c797.tar.bz2
spack-7bb7b946667723aa0121551aaf4cb1ac6509c797.tar.xz
spack-7bb7b946667723aa0121551aaf4cb1ac6509c797.zip
Added test for multimethod inheritance
Diffstat (limited to 'var/spack/repos/builtin.mock/packages/multimethod-inheritor/package.py')
-rw-r--r--var/spack/repos/builtin.mock/packages/multimethod-inheritor/package.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/var/spack/repos/builtin.mock/packages/multimethod-inheritor/package.py b/var/spack/repos/builtin.mock/packages/multimethod-inheritor/package.py
new file mode 100644
index 0000000000..066a23c6fd
--- /dev/null
+++ b/var/spack/repos/builtin.mock/packages/multimethod-inheritor/package.py
@@ -0,0 +1,13 @@
+# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack.pkg.builtin.mock.multimethod import Multimethod
+
+
+class MultimethodInheritor(Multimethod):
+ """This package is designed for use with Spack's multimethod test.
+ It has a bunch of test cases for the @when decorator that the
+ test uses.
+ """