Hopefully get a better error message on travis.

This commit is contained in:
Rowan Cockett
2016-01-28 13:58:32 -08:00
parent 4342450360
commit 09161ff68e
+1 -6
View File
@@ -35,12 +35,7 @@ class TestOcTreeIO(unittest.TestCase):
def test_VTUfiles(self):
mesh = self.mesh
vec = np.arange(mesh.nC)
try:
simpeg.Utils.meshutils.writeVTUFile('temp.vtu',mesh,{'arange':vec})
run = True
except:
run = False
assert run
simpeg.Utils.meshutils.writeVTUFile('temp.vtu',mesh,{'arange':vec})
print 'Writing of VTU files is working'
os.remove('temp.vtu')