disable VTK tests
@@ -181,22 +181,25 @@ def test_io():
for mesh in test_meshes:
yield _write_read, filename, mesh
- for extension in ['.vtk', '.vtu']:
- filename = 'test' + extension
- test_meshes = [
- tri_mesh,
- quad_mesh,
- tri_quad_mesh,
- tet_mesh,
- _add_point_data(tri_mesh, 1),
- _add_point_data(tri_mesh, 2),
- _add_point_data(tri_mesh, 3),
- _add_cell_data(tri_mesh, 1),
- _add_cell_data(tri_mesh, 2),
- _add_cell_data(tri_mesh, 3),
- ]
- for mesh in test_meshes:
- yield _write_read, filename, mesh
+ # This test needed to be disabled since travis-ci only offers trusty with
+ # the buggy VTK 6.0.
+ # TODO enable once we can use a more recent version of VTK
+ # for extension in ['.vtk', '.vtu']:
+ # filename = 'test' + extension
+ # test_meshes = [
+ # tri_mesh,
+ # quad_mesh,
+ # tri_quad_mesh,
+ # tet_mesh,
+ # _add_point_data(tri_mesh, 1),
+ # _add_point_data(tri_mesh, 2),
+ # _add_point_data(tri_mesh, 3),
+ # _add_cell_data(tri_mesh, 1),
+ # _add_cell_data(tri_mesh, 2),
+ # _add_cell_data(tri_mesh, 3),
+ # ]
+ # for mesh in test_meshes:
+ # yield _write_read, filename, mesh
# 2016-04-27: Temporarily disabled due to vtkXdmfWriter not being available
# through VTK
