[vtk-developers] Update: Making Tests Python 3/2 compatible.
Matthew Brett
matthew.brett at gmail.com
Mon Aug 10 10:05:47 EDT 2015
Hi,
On Mon, Aug 10, 2015 at 3:01 PM, David Gobbi <david.gobbi at gmail.com> wrote:
> Very nice. On my machine I see only six failures. This is with Python 3.2,
> and apparently no NetCDF.
>
> The following tests FAILED:
> 354 - vtkCommonDataModelPython-TestTemplates (Failed)
> 969 - vtkFiltersSourcesPython-squadViewer (Failed)
> 1944 - vtkRenderingTkPython-cursor3D (Failed)
> 1945 - vtkRenderingTkPython-TestTextActor3D (Failed)
> 1946 - vtkRenderingTkPython-TestTkRenderWidget (Failed)
> 1947 - vtkRenderingTkPython-TestTkRenderWindowInteractor (Failed)
>
> The TestTemplates seems to be a simple syntax error, the "u" string prefix
> is not allowed in python 3.2.
> 354: File "Common/DataModel/Testing/Python/TestTemplates.py", line 56
> 354: value = u"hello"
Is it worth requiring Python 3.3 or higher to fix this? I doubt
you'll have many Python 3.2 users, even if you released now - Python
3.4 has been around for a while now.
Cheers,
Matthew
More information about the vtk-developers
mailing list