diff options
Diffstat (limited to 'var/spack/repos/builder.test')
3 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builder.test/packages/inheritance/package.py b/var/spack/repos/builder.test/packages/inheritance/package.py index ebece88fbc..a3028ac412 100644 --- a/var/spack/repos/builder.test/packages/inheritance/package.py +++ b/var/spack/repos/builder.test/packages/inheritance/package.py @@ -16,7 +16,7 @@ class Inheritance(spack.pkg.builder.test.callbacks.Callbacks): class GenericBuilder(spack.pkg.builder.test.callbacks.GenericBuilder): def install(self, pkg, spec, prefix): - super(GenericBuilder, self).install(pkg, spec, prefix) + super().install(pkg, spec, prefix) os.environ["INHERITANCE_INSTALL_CALLED"] = "1" os.environ["INSTALL_VALUE"] = "INHERITANCE" diff --git a/var/spack/repos/builder.test/packages/old-style-autotools/package.py b/var/spack/repos/builder.test/packages/old-style-autotools/package.py index 41be49b5ba..4ace870768 100644 --- a/var/spack/repos/builder.test/packages/old-style-autotools/package.py +++ b/var/spack/repos/builder.test/packages/old-style-autotools/package.py @@ -31,7 +31,7 @@ class OldStyleAutotools(AutotoolsPackage): """This override a function in the builder and construct the result using a method defined in this class and a super method defined in the builder. """ - return [self.foo()] + super(OldStyleAutotools, self).configure_args() + return [self.foo()] + super().configure_args() def foo(self): return "--with-foo" diff --git a/var/spack/repos/builder.test/packages/old-style-derived/package.py b/var/spack/repos/builder.test/packages/old-style-derived/package.py index 159d0d4b13..352ddae075 100644 --- a/var/spack/repos/builder.test/packages/old-style-derived/package.py +++ b/var/spack/repos/builder.test/packages/old-style-derived/package.py @@ -18,4 +18,4 @@ class OldStyleDerived(spack.pkg.builder.test.old_style_autotools.OldStyleAutotoo version("1.0", md5="0123456789abcdef0123456789abcdef") def configure_args(self): - return ["--with-bar"] + super(OldStyleDerived, self).configure_args() + return ["--with-bar"] + super().configure_args() |