enthought / mayavi

3D visualization of scientific data in Python
http://docs.enthought.com/mayavi/mayavi/
Other
1.28k stars 282 forks source link

Warnings reported in the Mayavi testsuite #1295

Open rahulporuri opened 2 months ago

rahulporuri commented 2 months ago
...
test_mb_contour (mayavi.tests.test_composite_data.TestCompositeData.test_mb_contour) ... C:\Users\rahul\github\mayavi\mayavi\components\contour.py:222: DeprecationWarning: In the future, lists will no longer be accepted by the Tuple trait type. Lists should be converted to tuples prior to validation.
  self._current_range = rng
...
test_components_changed (mayavi.tests.test_contour.TestContour.test_components_changed)
Test if the modules respond correctly when the components ... C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetDimensions. (Please use GetDimensions(int dims[3]) instead.) -- Deprecated since version 9.3.0.
  val = getattr(vtk_obj, getter)()
...
test_volume (mayavi.tests.test_mlab_integration.TestMlabModules.test_volume)
Test the mlab volume factory. ... C:\Users\rahul\github\mayavi\mayavi\modules\volume.py:469: DeprecationWarning: In the future, lists will no longer be accepted by the Tuple trait type. Lists should be converted to tuples prior to validation.
  self.current_range = rng
...
test_user_defined_filter (mayavi.tests.test_mlab_integration.TestMlabNullEngineMisc.test_user_defined_filter) ... C:\Users\rahul\github\mayavi\tvtk\tools\tvtk_doc.py:77: DeprecationWarning: Call to deprecated class vtkCachingInterpolatedVelocityField. (Use vtkCompositeInterpolatedVelocityField instead of vtkCachingInterpolatedVelocityField and set the desired strategy.) -- Deprecated since version 9.2.0.
  c = klass()
C:\Users\rahul\github\mayavi\tvtk\tools\tvtk_doc.py:77: DeprecationWarning: Call to deprecated class vtkCapsuleSource. (Use vtkCylinderSource with SetCapping(true) and SetCapsuleCap(true) instead of vtkCapsuleSource.) -- Deprecated since version 9.3.0.
  c = klass()
C:\Users\rahul\github\mayavi\tvtk\tools\tvtk_doc.py:77: DeprecationWarning: Call to deprecated class vtkCellLocatorInterpolatedVelocityField. (Use vtkCompositeInterpolatedVelocityField instead of vtkCellLocatorInterpolatedVelocityField and set the desired strategy.) -- Deprecated since version 9.2.0.
  c = klass()
C:\Users\rahul\github\mayavi\tvtk\tools\tvtk_doc.py:77: DeprecationWarning: Call to deprecated class vtkCompositePolyDataMapper2. (Please use vtkCompositePolyDataMapper instead) -- Deprecated since version 9.3.0.
  c = klass()
C:\Users\rahul\github\mayavi\tvtk\tools\tvtk_doc.py:77: DeprecationWarning: Call to deprecated class vtkCriticalSection. (Use std::mutex instead) -- Deprecated since version 9.1.0.
  c = klass()
C:\Users\rahul\github\mayavi\tvtk\tools\tvtk_doc.py:77: DeprecationWarning: Call to deprecated class vtkDataObjectToTable. (Use vtkAttributeDataToTableFilter instead of vtkDataObjectToTable.) -- Deprecated since version 9.3.0.
  c = klass()
C:\Users\rahul\github\mayavi\tvtk\tools\tvtk_doc.py:77: DeprecationWarning: Call to deprecated class vtkExtractSelectedBlock. (Use vtkExtractSelection instead of vtkExtractSelectedBlock.) -- Deprecated since version 9.2.0.
  c = klass()
C:\Users\rahul\github\mayavi\tvtk\tools\tvtk_doc.py:77: DeprecationWarning: Call to deprecated class vtkExtractSelectedIds. (Use vtkExtractSelection instead of vtkExtractSelectedIds.) -- Deprecated since version 9.2.0.
  c = klass()
C:\Users\rahul\github\mayavi\tvtk\tools\tvtk_doc.py:77: DeprecationWarning: Call to deprecated class vtkExtractSelectedLocations. (Use vtkExtractSelection instead of vtkExtractSelectedLocations.) -- Deprecated since version 9.2.0.
  c = klass()
C:\Users\rahul\github\mayavi\tvtk\tools\tvtk_doc.py:77: DeprecationWarning: Call to deprecated class vtkExtractSelectedPolyDataIds. (Use vtkExtractSelection instead of vtkExtractSelectedPolyDataIds.) -- Deprecated since version 9.2.0.
  c = klass()
C:\Users\rahul\github\mayavi\tvtk\tools\tvtk_doc.py:77: DeprecationWarning: Call to deprecated class vtkExtractSelectedThresholds. (Use vtkExtractSelection instead of vtkExtractSelectedThresholds.) -- Deprecated since version 9.2.0.
  c = klass()
C:\Users\rahul\github\mayavi\tvtk\tools\tvtk_doc.py:77: DeprecationWarning: Call to deprecated class vtkHierarchicalBoxDataIterator. (Use vtkUniformGridAMRDataIterator instead of vtkHierarchicalBoxDataIterator) -- Deprecated since version 9.2.0.
  c = klass()
C:\Users\rahul\github\mayavi\tvtk\tools\tvtk_doc.py:77: DeprecationWarning: Call to deprecated class vtkInterpolatedVelocityField. (Use vtkCompositeInterpolatedVelocityField instead of vtkCellLocatorInterpolatedVelocityField and set the desired strategy.) -- Deprecated since version 9.2.0.
  c = klass()
C:\Users\rahul\github\mayavi\tvtk\tools\tvtk_doc.py:77: DeprecationWarning: Call to deprecated class vtkOutputWindowCleanup. (`vtkOutputWindowCleanup` is no longer necessary) -- Deprecated since version 9.3.0.
  c = klass()
C:\Users\rahul\github\mayavi\tvtk\tools\tvtk_doc.py:77: DeprecationWarning: Call to deprecated class vtkPCellDataToPointData. (Please use vtkCellDataToPointData instead) -- Deprecated since version 9.3.0.
  c = klass()