qa : flake8 issues
This commit is contained in:
@@ -149,7 +149,7 @@ def configure_args(self):
|
||||
def check_install(self):
|
||||
"Build and run a small program to test the installed HDF5 library"
|
||||
spec = self.spec
|
||||
print "Checking HDF5 installation..."
|
||||
print("Checking HDF5 installation...")
|
||||
checkdir = "spack-check"
|
||||
with working_dir(checkdir, create=True):
|
||||
source = r"""
|
||||
@@ -186,15 +186,15 @@ def check_install(self):
|
||||
output = ""
|
||||
success = output == expected
|
||||
if not success:
|
||||
print "Produced output does not match expected output."
|
||||
print "Expected output:"
|
||||
print '-' * 80
|
||||
print expected
|
||||
print '-' * 80
|
||||
print "Produced output:"
|
||||
print '-' * 80
|
||||
print output
|
||||
print '-' * 80
|
||||
print("Produced output does not match expected output.")
|
||||
print("Expected output:")
|
||||
print('-' * 80)
|
||||
print(expected)
|
||||
print('-' * 80)
|
||||
print("Produced output:")
|
||||
print('-' * 80)
|
||||
print(output)
|
||||
print('-' * 80)
|
||||
raise RuntimeError("HDF5 install check failed")
|
||||
shutil.rmtree(checkdir)
|
||||
|
||||
|
Reference in New Issue
Block a user