Commit 3bfe9914 authored by Ben Boeckel's avatar Ben Boeckel Committed by David Gobbi
Browse files

python3: add support in IOGeoJSON and IOParallelXML tests

parent 55ab30f9
from __future__ import print_function
import vtk, os, sys
from vtk.test import Testing
......@@ -40,13 +42,13 @@ for datasetString in testwrites:
print "Failed to write " + fname + " to file"
print("Failed to write " + fname + " to file")
failed = True
gj = "['"+str(gw.RegisterAndGetOutputString()).replace('\n','')+"']"
if len(gj) <= 1000:
print "Failed to write " + fname + " to buffer"
print("Failed to write " + fname + " to buffer")
failed = True
if failed:
from __future__ import print_function
import vtk
from vtk.test import Testing
from vtk.util.misc import vtkGetTempDir
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment