mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-30 22:20:58 +08:00
Hopefully get a better error message on travis.
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user