Removed print debug statements from test suite

This commit is contained in:
Will Boyd 2015-10-21 08:31:05 -04:00
parent b92aaf5d10
commit c8ec70946d
3 changed files with 9 additions and 5 deletions

View file

@ -470,8 +470,6 @@ for key in iter(tests):
logfilename = os.path.splitext(logfilename)[0]
logfilename = logfilename + '_{0}.log'.format(test.name)
shutil.copy(logfile[0], logfilename)
print(logfilename)
with open(logfilename) as fh: print(fh.read())
# Clear build directory and remove binary and hdf5 files
shutil.rmtree('build', ignore_errors=True)

View file

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<VTKFile type="PPolyData" version="0.1" byte_order="LittleEndian" compressor="vtkZLibDataCompressor">
<PPolyData GhostLevel="0">
<PPoints>
<PDataArray type="Float32" Name="Points" NumberOfComponents="3"/>
</PPoints>
<Piece Source="poly_0.vtp"/>
</PPolyData>
</VTKFile>

View file

@ -320,9 +320,6 @@ class PyAPITestHarness(TestHarness):
outstr = '\n'.join([open(fname).read() for fname in xmls
if os.path.exists(fname)])
if 'MGXSTestHarness' in str(type(self)):
print(outstr)
sha512 = hashlib.sha512()
sha512.update(outstr.encode('utf-8'))
outstr = sha512.hexdigest()