diff options
author | alalazo <massimiliano.culpo@googlemail.com> | 2016-06-18 13:10:35 +0200 |
---|---|---|
committer | alalazo <massimiliano.culpo@googlemail.com> | 2016-06-18 13:10:35 +0200 |
commit | 670669ef808a9a737e760ced8a9fd1d000f360b9 (patch) | |
tree | 0e42fbf1953fd4f633497d16825c1e55d2731289 /lib | |
parent | a33077b77fc83bf2cb7e78f0724922fc61137898 (diff) | |
download | spack-670669ef808a9a737e760ced8a9fd1d000f360b9.tar.gz spack-670669ef808a9a737e760ced8a9fd1d000f360b9.tar.bz2 spack-670669ef808a9a737e760ced8a9fd1d000f360b9.tar.xz spack-670669ef808a9a737e760ced8a9fd1d000f360b9.zip |
qa : fixed flake8 issues
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/test/modules.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/spack/spack/test/modules.py b/lib/spack/spack/test/modules.py index 889c09c730..443e4d13a6 100644 --- a/lib/spack/spack/test/modules.py +++ b/lib/spack/spack/test/modules.py @@ -100,7 +100,7 @@ configuration_alter_environment = { }, 'platform=test target=x86_32': { 'load': ['foo/bar'] - } + } } } @@ -201,7 +201,6 @@ class TclTests(MockPackagesTest): def get_modulefile_content(self, spec): spec.concretize() - print spec, '&&&&&' generator = spack.modules.TclModule(spec) generator.write() content = FILE_REGISTRY[generator.file_name].split('\n') @@ -269,7 +268,6 @@ class TclTests(MockPackagesTest): spack.modules.CONFIGURATION = configuration_blacklist spec = spack.spec.Spec('mpileaks') content = self.get_modulefile_content(spec) - print('\n'.join(content)) self.assertEqual(len([x for x in content if 'is-loaded' in x]), 1) self.assertEqual(len([x for x in content if 'module load ' in x]), 1) spec = spack.spec.Spec('callpath arch=x86-linux') @@ -277,7 +275,6 @@ class TclTests(MockPackagesTest): self.assertRaises(AttributeError, self.get_modulefile_content, spec) spec = spack.spec.Spec('zmpi arch=x86-linux') content = self.get_modulefile_content(spec) - print('\n'.join(content)) self.assertEqual(len([x for x in content if 'is-loaded' in x]), 1) self.assertEqual(len([x for x in content if 'module load ' in x]), 1) @@ -343,6 +340,5 @@ class DotkitTests(MockPackagesTest): spack.modules.CONFIGURATION = configuration_dotkit spec = spack.spec.Spec('mpileaks arch=x86-linux') content = self.get_modulefile_content(spec) - print('\n'.join(content)) self.assertTrue('#c spack' in content) self.assertTrue('#d mpileaks @2.3' in content) |