Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings and errors reported by the tvtk testsuite #1296

Open
rahulporuri opened this issue Apr 9, 2024 · 0 comments
Open

Warnings and errors reported by the tvtk testsuite #1296

rahulporuri opened this issue Apr 9, 2024 · 0 comments

Comments

@rahulporuri
Copy link
Contributor

In a Python 3.12 virtual environment, the following test failures and warnings are discovered. The venv was setup using

python -m pip install -e .[app]
python -m pip install pyside6
tvtk.tests.test_array_ext (unittest.loader._FailedTest.tvtk.tests.test_array_ext) ... ERROR
test_arr2cell_array (tvtk.tests.test_array_handler.TestArrayHandler.test_arr2cell_array)
Test Numeric array to vtkCellArray conversion. ... C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\unittest\case.py:589: DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
  if method() is not None:
ok
test_arr2vtkIdList (tvtk.tests.test_array_handler.TestArrayHandler.test_arr2vtkIdList)
Test array to vtkIdList conversion. ... ok
test_arr2vtkPoints (tvtk.tests.test_array_handler.TestArrayHandler.test_arr2vtkPoints)
Test Numeric array to vtkPoints conversion. ... ok
test_array2vtk (tvtk.tests.test_array_handler.TestArrayHandler.test_array2vtk)
Test Numeric array to VTK array conversion and vice-versa. ... ok
test_array_cache (tvtk.tests.test_array_handler.TestArrayHandler.test_array_cache)
Test the ArrayCache class. ... ok
test_deref_array (tvtk.tests.test_array_handler.TestArrayHandler.test_deref_array)
Test if dereferencing array args works correctly. ... ok
test_get_correct_sig (tvtk.tests.test_array_handler.TestArrayHandler.test_get_correct_sig)
Test multiple signature cases that have array arguments. ... ok
test_id_array (tvtk.tests.test_array_handler.TestArrayHandler.test_id_array)
Test if a vtkIdTypeArray is converted correctly. ... ok
test_reference_to_array (tvtk.tests.test_array_handler.TestArrayHandler.test_reference_to_array)
Does to_array return an existing array instead of a new copy. ... ok
test_vtk2array_appended_array (tvtk.tests.test_array_handler.TestArrayHandler.test_vtk2array_appended_array)
Test the vtk2array can tolerate appending a cached array. ... ok
test_get_children (tvtk.tests.test_browser.TestFullTreeGenrator.test_get_children) ... ok
test_glyph_pipeline (tvtk.tests.test_browser.TestFullTreeGenrator.test_glyph_pipeline) ... ok
test_has_children_is_correct (tvtk.tests.test_browser.TestFullTreeGenrator.test_has_children_is_correct) ... ok
test_simple_usage (tvtk.tests.test_browser.TestPipelineBrowser.test_simple_usage) ... ok
test_get_children (tvtk.tests.test_browser.TestSimpleTreeGenerator.test_get_children) ... ok
test_has_children_is_correct (tvtk.tests.test_browser.TestSimpleTreeGenerator.test_has_children_is_correct) ... ok
test_ancestors (tvtk.tests.test_class_tree.TestClassTree.test_ancestors)
Check if get_ancestors is OK. ... ok
test_basic_vtk (tvtk.tests.test_class_tree.TestClassTree.test_basic_vtk)
Basic tests for the VTK module. ... ok
test_builtin (tvtk.tests.test_class_tree.TestClassTree.test_builtin)
Check if tree structure for builtins works. ... ok
test_level (tvtk.tests.test_class_tree.TestClassTree.test_level)
Check the node levels. ... ok
test_parent_child (tvtk.tests.test_class_tree.TestClassTree.test_parent_child)
Check if the node's parent and children are correct. ... ok
test_tree (tvtk.tests.test_class_tree.TestClassTree.test_tree)
Check the tree structure. ... ok
tvtk.tests.test_ctf_util (unittest.loader._FailedTest.tvtk.tests.test_ctf_util) ... ERROR
test_decorated_scene (tvtk.tests.test_garbage_collection.TestTVTKGarbageCollection.test_decorated_scene)
Tests if Decorated Scene can be garbage collected. ... ok
test_scene (tvtk.tests.test_garbage_collection.TestTVTKGarbageCollection.test_scene)
Tests if Scene can be garbage collected. ... ok
test_scene_model (tvtk.tests.test_garbage_collection.TestTVTKGarbageCollection.test_scene_model)
Tests if SceneModel can be garbage collected. ... ok
test_tvtk_scene (tvtk.tests.test_garbage_collection.TestTVTKGarbageCollection.test_tvtk_scene)
Tests if TVTK scene can be garbage collected. ... skipped 'CI with windows fails due to lack of OpenGL, or toolkit is null, got toolkit=qt'
test_basic (tvtk.tests.test_indenter.TestIndent.test_basic)
Simple tests for indenter. ... ok
test_format (tvtk.tests.test_indenter.TestIndent.test_format)
Tests if formatting works ok. ... ok
test_class_doc (tvtk.tests.test_indenter.TestVTKDocMassager.test_class_doc)
Test if class docs are generated correctly. ... ok
test_doc_massage (tvtk.tests.test_indenter.TestVTKDocMassager.test_doc_massage)
Test massage method. ... ok
test_get_method_doc (tvtk.tests.test_indenter.TestVTKDocMassager.test_get_method_doc)
Test if get_method_doc works correctly. ... ok
test_method_doc (tvtk.tests.test_indenter.TestVTKDocMassager.test_method_doc)
Test if method docs are generated correctly. ... ok
test_remove_sig (tvtk.tests.test_indenter.TestVTKDocMassager.test_remove_sig)
Test if function signature is removed correctly. ... ok
test_rename_class (tvtk.tests.test_indenter.TestVTKDocMassager.test_rename_class)
Test if VTK classes are renamed correctly. ... ok
test_trait_doc (tvtk.tests.test_indenter.TestVTKDocMassager.test_trait_doc)
Test if trait docs are generated correctly. ... ok
test_basic (tvtk.tests.test_messenger.TestMessenger.test_basic)
Test basic functionality of the messenger. ... ok
test_catchall (tvtk.tests.test_messenger.TestMessenger.test_catchall)
Tests if catch all handlers are called. ... ok
test_disconnect (tvtk.tests.test_messenger.TestMessenger.test_disconnect)
Tests if disconnection works correctly. ... ok
test_reload (tvtk.tests.test_messenger.TestMessenger.test_reload)
Tests if module is reload safe. ... ok
test_send_on_dead_ref (tvtk.tests.test_messenger.TestMessenger.test_send_on_dead_ref)
Test if sending to a gc'd callback works gracefully. ... ok
test_suppress_vtk_warnings (tvtk.tests.test_misc.TestMisc.test_suppress_vtk_warnings) ... 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)()
ok
test_write_data_vtk (tvtk.tests.test_misc.TestMisc.test_write_data_vtk)
Old-style VTK file writing with specified extension ... ok
test_write_data_xml (tvtk.tests.test_misc.TestMisc.test_write_data_xml)
XML file writing with specified extension ... ok
test_write_data_xml_kwargs (tvtk.tests.test_misc.TestMisc.test_write_data_xml_kwargs)
XML file writing with extra keyword arguments ... ok
test_write_data_xml_noext (tvtk.tests.test_misc.TestMisc.test_write_data_xml_noext)
XML file writing without extensions ... ok
test_calls_save_scene_when_record_is_on (tvtk.tests.test_movie_maker.TestMovieMaker.test_calls_save_scene_when_record_is_on) ... ok
test_calls_save_scene_with_record_movie (tvtk.tests.test_movie_maker.TestMovieMaker.test_calls_save_scene_with_record_movie) ... ok
test_directory_updates_correctly (tvtk.tests.test_movie_maker.TestMovieMaker.test_directory_updates_correctly) ... ok
test_does_nothing_when_record_is_off (tvtk.tests.test_movie_maker.TestMovieMaker.test_does_nothing_when_record_is_off) ... ok
test_popup_save_with_user_not_ok (tvtk.tests.test_pyface_utils.TestPopupSave.test_popup_save_with_user_not_ok) ... ok
test_popup_save_with_user_ok (tvtk.tests.test_pyface_utils.TestPopupSave.test_popup_save_with_user_ok) ... ok
test_algorithm_methods_are_wrapped (tvtk.tests.test_tvtk.TestTVTK.test_algorithm_methods_are_wrapped) ... 2024-04-09 21:57:23.948 (   3.012s) [EEA334C0F80C55BB]       vtkAlgorithm.cxx:1444   ERR| vtkAlgorithm (0000026D3D5218B0): Attempt to get connection index 0 for input port 0, for an algorithm with 0 ports.
ok
test_append_poly_data_input (tvtk.tests.test_tvtk.TestTVTK.test_append_poly_data_input)
Test if AppendPolyData has its get_input wrapped right. ... ok
test_array_conversion (tvtk.tests.test_tvtk.TestTVTK.test_array_conversion)
Test if Numeric/VTK array conversion works. ... ok
test_auto_update (tvtk.tests.test_tvtk.TestTVTK.test_auto_update)
Test if traits are updated when the VTK object changes. ... ok
test_axes_transform_representation_tolerance (tvtk.tests.test_tvtk.TestTVTK.test_axes_transform_representation_tolerance)
Test the tolerance of AxesTransformRepresentation is set properly ... ok
test_basic (tvtk.tests.test_tvtk.TestTVTK.test_basic)
Test a simple tvtk pipeline. ... ok
test_cache (tvtk.tests.test_tvtk.TestTVTK.test_cache)
Test the caching of ancestor classes. ... ok
test_cell_array (tvtk.tests.test_tvtk.TestTVTK.test_cell_array)
Test if cell array insertion updates number of cells. ... ok
test_collection (tvtk.tests.test_tvtk.TestTVTK.test_collection)
Test if Collection objects work nicely. ... ok
test_contextdevice2d_matrix_api (tvtk.tests.test_tvtk.TestTVTK.test_contextdevice2d_matrix_api)
Test ContextDevice2D Get/SetMatrix API ... skipped 'ContextDevice2D has a subclass. This may cause the TVTK API to be different from if it had not'
test_custom (tvtk.tests.test_tvtk.TestTVTK.test_custom)
Test if custom modules can be imported. ... ok
test_data_array (tvtk.tests.test_tvtk.TestTVTK.test_data_array)
Test if vtkDataArrays behave in a Pythonic fashion. ... ok
test_distance_representation_2d_point1_world_position (tvtk.tests.test_tvtk.TestTVTK.test_distance_representation_2d_point1_world_position)
Test that Position attributes in DistanceRepresentation2D works ... ok
test_do_change (tvtk.tests.test_tvtk.TestTVTK.test_do_change)
Test if VTK object changes when trait is changed. ... ok
test_hardware_selector_prop_color_value (tvtk.tests.test_tvtk.TestTVTK.test_hardware_selector_prop_color_value)
Test that PropColorValue of HardwareSelector works ... ok
test_help_trait (tvtk.tests.test_tvtk.TestTVTK.test_help_trait)
Test if the help attribute is correct. ... ok
test_idlist (tvtk.tests.test_tvtk.TestTVTK.test_idlist)
Test if vtkIdList behaves in a Pythonic fashion. ... ok
test_image_convolve_kernel (tvtk.tests.test_tvtk.TestTVTK.test_image_convolve_kernel)
Test that setting the kernels in ImageConvolve works ... ok
test_information_keys (tvtk.tests.test_tvtk.TestTVTK.test_information_keys)
Test if vtk information objects can be created. ... ok
test_init_traits (tvtk.tests.test_tvtk.TestTVTK.test_init_traits)
Test if the objects traits can be set in __init__. ... ok
test_matrix4x4 (tvtk.tests.test_tvtk.TestTVTK.test_matrix4x4)
Test if Matrix4x4 works nicely. ... ok
test_null_string_wrapper (tvtk.tests.test_tvtk.TestTVTK.test_null_string_wrapper)
Check if a null string default is wrapped as a String trait. ... ok
test_obj_del (tvtk.tests.test_tvtk.TestTVTK.test_obj_del)
Test object deletion and reference cycles. ... ok
test_object_cache (tvtk.tests.test_tvtk.TestTVTK.test_object_cache)
Test if object cache works. ... ok
test_object_factory_enableflag_api (tvtk.tests.test_tvtk.TestTVTK.test_object_factory_enableflag_api)
Test ObjectFactory Get/SetEnableFlag API ... skipped 'ObjectFactory has a subclass. This may cause the TVTK API to be different from if it had not'
test_parent_child_bounds (tvtk.tests.test_tvtk.TestTVTK.test_parent_child_bounds)
CubeAxesActor2D's bounds should be writable. ... ok
test_parent_child_input (tvtk.tests.test_tvtk.TestTVTK.test_parent_child_input)
Case where parent has GetInput and child SetInput. ... ok
test_points (tvtk.tests.test_tvtk.TestTVTK.test_points)
Test if vtkPoints behaves in a Pythonic fashion. ... ok
test_points_lookup (tvtk.tests.test_tvtk.TestTVTK.test_points_lookup)
Test if points can be looked up. ... ok
test_property (tvtk.tests.test_tvtk.TestTVTK.test_property)
Test if Property's color works ok in all circumstances. ... ok
test_property_change_notification (tvtk.tests.test_tvtk.TestTVTK.test_property_change_notification)
Test if changes to properties generate notification events. ... ok
test_set_scalars (tvtk.tests.test_tvtk.TestTVTK.test_set_scalars)
Test if SetScalars works without a segfault. ... ok
test_spider_plot_actor_set_axis_label (tvtk.tests.test_tvtk.TestTVTK.test_spider_plot_actor_set_axis_label)
Test SpiderPlotActor Get/SetAxisLabel works ... ok
test_to_array_signed_char_array (tvtk.tests.test_tvtk.TestTVTK.test_to_array_signed_char_array) ... ok
test_to_tvtk_returns_tvtk_object (tvtk.tests.test_tvtk.TestTVTK.test_to_tvtk_returns_tvtk_object) ... ok
test_to_tvtk_wraps_subclass_of_vtk (tvtk.tests.test_tvtk.TestTVTK.test_to_tvtk_wraps_subclass_of_vtk) ... ok
test_to_vtk_returns_vtk_object (tvtk.tests.test_tvtk.TestTVTK.test_to_vtk_returns_vtk_object) ... ok
test_tuple_array_handling (tvtk.tests.test_tvtk.TestTVTK.test_tuple_array_handling)
Test if methods can take any sequence rather than only tuples. ... ok
test_vtk_python_algorithm_base_is_wrapped (tvtk.tests.test_tvtk.TestTVTK.test_vtk_python_algorithm_base_is_wrapped) ... ok
test_wrap_vtk (tvtk.tests.test_tvtk.TestTVTK.test_wrap_vtk)
Test if the wrap_vtk function works. ... ok
test_xopengl_render_window (tvtk.tests.test_tvtk.TestTVTK.test_xopengl_render_window)
Test that setting the position to a render window works ... skipped 'XOpenGLRenderWindow is not available on this build of TVTK'
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:812: DeprecationWarning: Call to deprecated class vtkCachingInterpolatedVelocityField. (Use vtkCompositeInterpolatedVelocityField instead of vtkCachingInterpolatedVelocityField and set the desired strategy.) -- Deprecated since version 9.2.0.
  obj = vtk_klass()
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:812: DeprecationWarning: Call to deprecated class vtkCapsuleSource. (Use vtkCylinderSource with SetCapping(true) and SetCapsuleCap(true) instead of vtkCapsuleSource.) -- Deprecated since version 9.3.0.
  obj = vtk_klass()
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:812: DeprecationWarning: Call to deprecated class vtkCellLocatorInterpolatedVelocityField. (Use vtkCompositeInterpolatedVelocityField instead of vtkCellLocatorInterpolatedVelocityField and set the desired strategy.) -- Deprecated since version 9.2.0.
  obj = vtk_klass()
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:812: DeprecationWarning: Call to deprecated class vtkCompositePolyDataMapper2. (Please use vtkCompositePolyDataMapper instead) -- Deprecated since version 9.3.0.
  obj = vtk_klass()
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:812: DeprecationWarning: Call to deprecated class vtkCriticalSection. (Use std::mutex instead) -- Deprecated since version 9.1.0.
  obj = vtk_klass()
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:812: DeprecationWarning: Call to deprecated class vtkDataObjectToTable. (Use vtkAttributeDataToTableFilter instead of vtkDataObjectToTable.) -- Deprecated since version 9.3.0.
  obj = vtk_klass()
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:812: DeprecationWarning: Call to deprecated class vtkExtractSelectedBlock. (Use vtkExtractSelection instead of vtkExtractSelectedBlock.) -- Deprecated since version 9.2.0.
  obj = vtk_klass()
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:812: DeprecationWarning: Call to deprecated class vtkExtractSelectedIds. (Use vtkExtractSelection instead of vtkExtractSelectedIds.) -- Deprecated since version 9.2.0.
  obj = vtk_klass()
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:812: DeprecationWarning: Call to deprecated class vtkExtractSelectedLocations. (Use vtkExtractSelection instead of vtkExtractSelectedLocations.) -- Deprecated since version 9.2.0.
  obj = vtk_klass()
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:812: DeprecationWarning: Call to deprecated class vtkExtractSelectedPolyDataIds. (Use vtkExtractSelection instead of vtkExtractSelectedPolyDataIds.) -- Deprecated since version 9.2.0.
  obj = vtk_klass()
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:812: DeprecationWarning: Call to deprecated class vtkExtractSelectedThresholds. (Use vtkExtractSelection instead of vtkExtractSelectedThresholds.) -- Deprecated since version 9.2.0.
  obj = vtk_klass()
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:812: DeprecationWarning: Call to deprecated class vtkHierarchicalBoxDataIterator. (Use vtkUniformGridAMRDataIterator instead of vtkHierarchicalBoxDataIterator) -- Deprecated since version 9.2.0.
  obj = vtk_klass()
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:812: DeprecationWarning: Call to deprecated class vtkInterpolatedVelocityField. (Use vtkCompositeInterpolatedVelocityField instead of vtkCellLocatorInterpolatedVelocityField and set the desired strategy.) -- Deprecated since version 9.2.0.
  obj = vtk_klass()
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:812: DeprecationWarning: Call to deprecated class vtkPCellDataToPointData. (Please use vtkCellDataToPointData instead) -- Deprecated since version 9.3.0.
  obj = vtk_klass()
test_all_instantiable (tvtk.tests.test_tvtk.TestTVTKModule.test_all_instantiable)
Test if all the TVTK classes can be instantiated ... C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetDegree. (This method is no longer used and has no effect.) -- Deprecated since version 9.2.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetTitleOffset. (Use GetTitleOffset(double&, double&) as it's now a 2d vector) -- Deprecated since version 9.3.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:419: DeprecationWarning: Call to deprecated class vtkCachingInterpolatedVelocityField. (Use vtkCompositeInterpolatedVelocityField instead of vtkCachingInterpolatedVelocityField and set the desired strategy.) -- Deprecated since version 9.2.0.
  self._vtk_obj = klass()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:419: DeprecationWarning: Call to deprecated class vtkCapsuleSource. (Use vtkCylinderSource with SetCapping(true) and SetCapsuleCap(true) instead of vtkCapsuleSource.) -- Deprecated since version 9.3.0.
  self._vtk_obj = klass()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetLazyEvaluation. (This method is deprecated because it can lead to thread-safety issues) -- Deprecated since version 9.2.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:419: DeprecationWarning: Call to deprecated class vtkCellLocatorInterpolatedVelocityField. (Use vtkCompositeInterpolatedVelocityField instead of vtkCellLocatorInterpolatedVelocityField and set the desired strategy.) -- Deprecated since version 9.2.0.
  self._vtk_obj = klass()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:419: DeprecationWarning: Call to deprecated class vtkCompositePolyDataMapper2. (Please use vtkCompositePolyDataMapper instead) -- Deprecated since version 9.3.0.
  self._vtk_obj = klass()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:419: DeprecationWarning: Call to deprecated class vtkCriticalSection. (Use std::mutex instead) -- Deprecated since version 9.1.0.
  self._vtk_obj = klass()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetTitleOffset. (Use the new getter as it's now a 2d vector) -- Deprecated since version 9.3.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:419: DeprecationWarning: Call to deprecated class vtkDataObjectToTable. (Use vtkAttributeDataToTableFilter instead of vtkDataObjectToTable.) -- Deprecated since version 9.3.0.
  self._vtk_obj = klass()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetG1Skewness. (Please use GetSampleEstimate instead) -- Deprecated since version 9.2.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetG2Kurtosis. (Please use GetSampleEstimate instead) -- Deprecated since version 9.2.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetUnbiasedVariance. (Please use GetSampleEstimate instead) -- Deprecated since version 9.2.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:419: DeprecationWarning: Call to deprecated class vtkExtractSelectedBlock. (Use vtkExtractSelection instead of vtkExtractSelectedBlock.) -- Deprecated since version 9.2.0.
  self._vtk_obj = klass()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:419: DeprecationWarning: Call to deprecated class vtkExtractSelectedIds. (Use vtkExtractSelection instead of vtkExtractSelectedIds.) -- Deprecated since version 9.2.0.
  self._vtk_obj = klass()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:419: DeprecationWarning: Call to deprecated class vtkExtractSelectedLocations. (Use vtkExtractSelection instead of vtkExtractSelectedLocations.) -- Deprecated since version 9.2.0.
  self._vtk_obj = klass()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:419: DeprecationWarning: Call to deprecated class vtkExtractSelectedPolyDataIds. (Use vtkExtractSelection instead of vtkExtractSelectedPolyDataIds.) -- Deprecated since version 9.2.0.
  self._vtk_obj = klass()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:419: DeprecationWarning: Call to deprecated class vtkExtractSelectedThresholds. (Use vtkExtractSelection instead of vtkExtractSelectedThresholds.) -- Deprecated since version 9.2.0.
  self._vtk_obj = klass()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:419: DeprecationWarning: Call to deprecated class vtkHierarchicalBoxDataIterator. (Use vtkUniformGridAMRDataIterator instead of vtkHierarchicalBoxDataIterator) -- Deprecated since version 9.2.0.
  self._vtk_obj = klass()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetResultArrayName. (Please use unambiguous GetGradientArrayName method instead.) -- Deprecated since version 9.3.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetPreserveInputEntityGroups. (PreserveInputEntityGroups is no longer needed.) -- Deprecated since version 9.3.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetMaximumTimeStepsPerFile. (Use TimeStepRange/TimeStepStride instead.) -- Deprecated since version 9.3.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:419: DeprecationWarning: Call to deprecated class vtkInterpolatedVelocityField. (Use vtkCompositeInterpolatedVelocityField instead of vtkCellLocatorInterpolatedVelocityField and set the desired strategy.) -- Deprecated since version 9.2.0.
  self._vtk_obj = klass()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetCompatibilityMode. (Deprecating compatibility mode for this filter) -- Deprecated since version 9.2.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetVolume. (Part of deprecating compatibility mode for this filter) -- Deprecated since version 9.2.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:419: DeprecationWarning: Call to deprecated class vtkPCellDataToPointData. (Please use vtkCellDataToPointData instead) -- Deprecated since version 9.3.0.
  self._vtk_obj = klass()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetStaticMesh. (Use GetMeshOverTime instead) -- Deprecated since version 9.2.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetAutoSubdividePolarAxis. (Use SetDeltaRangeMajor instead or enable AxisTickMatchesPolarAxes) -- Deprecated since version 9.3.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetUseDiagonalLengthTolerance. (This method is no longer used because Tolerance is also not used) -- Deprecated since version 9.2.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetOptimizeForRealInput. (Function has been renamed GetReturnOnesided) -- Deprecated since version 9.3.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetNumberOfBlock. (Block behavior is not controlled using BlockSize and BlockOverlap properties.) -- Deprecated since version 9.3.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetPrefixOutputArrays. (Deprecated in favor of always keeping the output array names the same as the input.) -- Deprecated since version 9.2.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetAttributeMode. (This method is deprecated.) -- Deprecated since version 9.3.0.
  val = getattr(vtk_obj, getter)()
C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py:575: DeprecationWarning: Call to deprecated method GetClipValue. (Please use GetValue instead.) -- Deprecated since version 9.3.0.
  val = getattr(vtk_obj, getter)()
ok
test_all_traits_can_be_obtained (tvtk.tests.test_tvtk.TestTVTKModule.test_all_traits_can_be_obtained)
Test if all of the traits can be obtained ... ok
test_import_tvtk_does_not_import_gui (tvtk.tests.test_tvtk.TestTVTKModule.test_import_tvtk_does_not_import_gui) ... ok
test_no_trait_has_ptr_address_as_value (tvtk.tests.test_tvtk.TestTVTKModule.test_no_trait_has_ptr_address_as_value)
Test if none of the TVTK classes' traits has a value of "*_p_void" ... ok
test_trait_with_range (tvtk.tests.test_tvtk.TestTVTKModule.test_trait_with_range)
Test if all the attributes with MinValue/MaxValue are traits ... C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:853: DeprecationWarning: Call to deprecated method GetDegreeMinValue. (This method is no longer used and has no effect.) -- Deprecated since version 9.2.0.
  return (getattr(vtk_klass(), get_min_method)(),
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:854: DeprecationWarning: Call to deprecated method GetDegreeMaxValue. (This method is no longer used and has no effect.) -- Deprecated since version 9.2.0.
  getattr(vtk_klass(), get_max_method)())
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:853: DeprecationWarning: Call to deprecated class vtkCachingInterpolatedVelocityField. (Use vtkCompositeInterpolatedVelocityField instead of vtkCachingInterpolatedVelocityField and set the desired strategy.) -- Deprecated since version 9.2.0.
  return (getattr(vtk_klass(), get_min_method)(),
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:853: DeprecationWarning: Call to deprecated class vtkCapsuleSource. (Use vtkCylinderSource with SetCapping(true) and SetCapsuleCap(true) instead of vtkCapsuleSource.) -- Deprecated since version 9.3.0.
  return (getattr(vtk_klass(), get_min_method)(),
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:854: DeprecationWarning: Call to deprecated class vtkCapsuleSource. (Use vtkCylinderSource with SetCapping(true) and SetCapsuleCap(true) instead of vtkCapsuleSource.) -- Deprecated since version 9.3.0.
  getattr(vtk_klass(), get_max_method)())
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:853: DeprecationWarning: Call to deprecated class vtkCellLocatorInterpolatedVelocityField. (Use vtkCompositeInterpolatedVelocityField instead of vtkCellLocatorInterpolatedVelocityField and set the desired strategy.) -- Deprecated since version 9.2.0.
  return (getattr(vtk_klass(), get_min_method)(),
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:853: DeprecationWarning: Call to deprecated class vtkCompositePolyDataMapper2. (Please use vtkCompositePolyDataMapper instead) -- Deprecated since version 9.3.0.
  return (getattr(vtk_klass(), get_min_method)(),
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:853: DeprecationWarning: Call to deprecated class vtkCriticalSection. (Use std::mutex instead) -- Deprecated since version 9.1.0.
  return (getattr(vtk_klass(), get_min_method)(),
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:853: DeprecationWarning: Call to deprecated class vtkDataObjectToTable. (Use vtkAttributeDataToTableFilter instead of vtkDataObjectToTable.) -- Deprecated since version 9.3.0.
  return (getattr(vtk_klass(), get_min_method)(),
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:854: DeprecationWarning: Call to deprecated class vtkDataObjectToTable. (Use vtkAttributeDataToTableFilter instead of vtkDataObjectToTable.) -- Deprecated since version 9.3.0.
  getattr(vtk_klass(), get_max_method)())
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:853: DeprecationWarning: Call to deprecated class vtkExtractSelectedBlock. (Use vtkExtractSelection instead of vtkExtractSelectedBlock.) -- Deprecated since version 9.2.0.
  return (getattr(vtk_klass(), get_min_method)(),
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:853: DeprecationWarning: Call to deprecated class vtkExtractSelectedIds. (Use vtkExtractSelection instead of vtkExtractSelectedIds.) -- Deprecated since version 9.2.0.
  return (getattr(vtk_klass(), get_min_method)(),
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:853: DeprecationWarning: Call to deprecated class vtkExtractSelectedLocations. (Use vtkExtractSelection instead of vtkExtractSelectedLocations.) -- Deprecated since version 9.2.0.
  return (getattr(vtk_klass(), get_min_method)(),
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:853: DeprecationWarning: Call to deprecated class vtkExtractSelectedPolyDataIds. (Use vtkExtractSelection instead of vtkExtractSelectedPolyDataIds.) -- Deprecated since version 9.2.0.
  return (getattr(vtk_klass(), get_min_method)(),
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:853: DeprecationWarning: Call to deprecated class vtkExtractSelectedThresholds. (Use vtkExtractSelection instead of vtkExtractSelectedThresholds.) -- Deprecated since version 9.2.0.
  return (getattr(vtk_klass(), get_min_method)(),
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:853: DeprecationWarning: Call to deprecated class vtkHierarchicalBoxDataIterator. (Use vtkUniformGridAMRDataIterator instead of vtkHierarchicalBoxDataIterator) -- Deprecated since version 9.2.0.
  return (getattr(vtk_klass(), get_min_method)(),
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:853: DeprecationWarning: Call to deprecated class vtkInterpolatedVelocityField. (Use vtkCompositeInterpolatedVelocityField instead of vtkCellLocatorInterpolatedVelocityField and set the desired strategy.) -- Deprecated since version 9.2.0.
  return (getattr(vtk_klass(), get_min_method)(),
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:853: DeprecationWarning: Call to deprecated class vtkPCellDataToPointData. (Please use vtkCellDataToPointData instead) -- Deprecated since version 9.3.0.
  return (getattr(vtk_klass(), get_min_method)(),
C:\Users\rahul\github\mayavi\tvtk\tests\test_tvtk.py:854: DeprecationWarning: Call to deprecated class vtkPCellDataToPointData. (Please use vtkCellDataToPointData instead) -- Deprecated since version 9.3.0.
  getattr(vtk_klass(), get_max_method)())
ok
test_auto_update (tvtk.tests.test_tvtk_base.TestTVTKBase.test_auto_update)
Test trait updation when the VTK object changes. ... ok
test_camel2enthought (tvtk.tests.test_tvtk_base.TestTVTKBase.test_camel2enthought)
Test CamelCase to Enthought style name conversion. ... ok
test_deref_vtk (tvtk.tests.test_tvtk_base.TestTVTKBase.test_deref_vtk)
Test the `deref_vtk` function. ... ok
test_do_change (tvtk.tests.test_tvtk_base.TestTVTKBase.test_do_change)
Test if VTK object changes when trait is changed. ... ok
test_global_disable_update (tvtk.tests.test_tvtk_base.TestTVTKBase.test_global_disable_update) ... ok
test_init_traits (tvtk.tests.test_tvtk_base.TestTVTKBase.test_init_traits)
Test if the objects traits can be set in __init__. ... ok
test_obj_del (tvtk.tests.test_tvtk_base.TestTVTKBase.test_obj_del)
Test object deletion and reference cycles. ... ok
test_pickle (tvtk.tests.test_tvtk_base.TestTVTKBase.test_pickle)
Test if pickling works. ... ok
test_rev_prefix_map (tvtk.tests.test_tvtk_base.TestTVTKBase.test_rev_prefix_map)
Test the reverse prefix map trait we use. ... ok
test_setup_teardown_observers (tvtk.tests.test_tvtk_base.TestTVTKBase.test_setup_teardown_observers)
If setup_observers and teardown_observers work correctly. ... ok
test_strict_traits (tvtk.tests.test_tvtk_base.TestTVTKBase.test_strict_traits)
Test if TVTK objects use strict traits. ... ok
test_tvtk_name (tvtk.tests.test_tvtk_base.TestTVTKBase.test_tvtk_name)
Test VTK to TVTK class name conversion. ... ok
test_wrap_call_is_graceful_on_failure (tvtk.tests.test_tvtk_base.TestTVTKBase.test_wrap_call_is_graceful_on_failure) ... ok
test_zz_object_cache (tvtk.tests.test_tvtk_base.TestTVTKBase.test_zz_object_cache)
Test if object cache works correctly. ... ok
test_tvtk_scene_garbage_collected (tvtk.tests.test_tvtk_scene.TestTVTKScene.test_tvtk_scene_garbage_collected) ... skipped 'CI with windows fails due to lack of OpenGL, or toolkit is null.'
test_arrow (tvtk.tests.test_visual.TestVisual.test_arrow) ... ERROR
test_box (tvtk.tests.test_visual.TestVisual.test_box) ... ERROR
test_cone (tvtk.tests.test_visual.TestVisual.test_cone) ... ERROR
test_curve (tvtk.tests.test_visual.TestVisual.test_curve) ... ERROR
test_cylinder (tvtk.tests.test_visual.TestVisual.test_cylinder) ... ERROR
test_ellipsoid (tvtk.tests.test_visual.TestVisual.test_ellipsoid) ... ERROR
test_frame (tvtk.tests.test_visual.TestVisual.test_frame) ... ERROR
test_helix (tvtk.tests.test_visual.TestVisual.test_helix) ... ERROR
test_ring (tvtk.tests.test_visual.TestVisual.test_ring) ... ERROR
test_sphere (tvtk.tests.test_visual.TestVisual.test_sphere) ... ERROR
test_method_signature (tvtk.tests.test_vtk_parser.TestVTKParser.test_method_signature)
Check if VTK method signatures are parsed correctly. ... ok
test_methods (tvtk.tests.test_vtk_parser.TestVTKParser.test_methods)
Check get_methods. ... ok
test_no_tree (tvtk.tests.test_vtk_parser.TestVTKParser.test_no_tree)
Check if parser is usable without the tree. ... ok
test_parse (tvtk.tests.test_vtk_parser.TestVTKParser.test_parse)
Check if the methods are organized correctly. ... ok
test_parse_all (tvtk.tests.test_vtk_parser.TestVTKParser.test_parse_all)
Check if all VTK classes are parseable. ... C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:713: DeprecationWarning: Call to deprecated method GetCursor. (Please use GetCustomCursor instead.) -- Deprecated since version 9.3.0.
  default = getattr(obj, 'Get%s' % key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:536: DeprecationWarning: Call to deprecated method GetLazyEvaluation. (This method is deprecated because it can lead to thread-safety issues) -- Deprecated since version 9.2.0.
  tm[key] = getattr(obj, 'Get%s'%key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:713: DeprecationWarning: Call to deprecated method GetTitleOffset. (Use GetTitleOffset(double&, double&) as it's now a 2d vector) -- Deprecated since version 9.3.0.
  default = getattr(obj, 'Get%s' % key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:779: DeprecationWarning: Call to deprecated class vtkCapsuleSource. (Use vtkCylinderSource with SetCapping(true) and SetCapsuleCap(true) instead of vtkCapsuleSource.) -- Deprecated since version 9.3.0.
  obj = klass()
2024-04-09 21:58:05.078 (  44.141s) [EEA334C0F80C55BB] vtkDataObjectTypes.cxx:273   WARN| 'NewDataObject' cannot create 'vtkCompositeDataSet'.
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:779: DeprecationWarning: Call to deprecated class vtkCompositePolyDataMapper2. (Please use vtkCompositePolyDataMapper instead) -- Deprecated since version 9.3.0.
  obj = klass()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:713: DeprecationWarning: Call to deprecated method GetTitleOffset. (Use the new getter as it's now a 2d vector) -- Deprecated since version 9.3.0.
  default = getattr(obj, 'Get%s' % key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:779: DeprecationWarning: Call to deprecated class vtkDataObjectToTable. (Use vtkAttributeDataToTableFilter instead of vtkDataObjectToTable.) -- Deprecated since version 9.3.0.
  obj = klass()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:536: DeprecationWarning: Call to deprecated method GetG1Skewness. (Please use GetSampleEstimate instead) -- Deprecated since version 9.2.0.
  tm[key] = getattr(obj, 'Get%s'%key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:536: DeprecationWarning: Call to deprecated method GetG2Kurtosis. (Please use GetSampleEstimate instead) -- Deprecated since version 9.2.0.
  tm[key] = getattr(obj, 'Get%s'%key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:536: DeprecationWarning: Call to deprecated method GetUnbiasedVariance. (Please use GetSampleEstimate instead) -- Deprecated since version 9.2.0.
  tm[key] = getattr(obj, 'Get%s'%key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:779: DeprecationWarning: Call to deprecated class vtkExtractSelectedBlock. (Use vtkExtractSelection instead of vtkExtractSelectedBlock.) -- Deprecated since version 9.2.0.
  obj = klass()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:713: DeprecationWarning: Call to deprecated method GetDegree. (This method is no longer used and has no effect.) -- Deprecated since version 9.2.0.
  default = getattr(obj, 'Get%s' % key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:732: DeprecationWarning: Call to deprecated method GetDegreeMinValue. (This method is no longer used and has no effect.) -- Deprecated since version 9.2.0.
  low = getattr(obj, 'Get%sMinValue' % key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:733: DeprecationWarning: Call to deprecated method GetDegreeMaxValue. (This method is no longer used and has no effect.) -- Deprecated since version 9.2.0.
  high = getattr(obj, 'Get%sMaxValue' % key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:713: DeprecationWarning: Call to deprecated method GetLocator. (This method is no longer used and has no effect.) -- Deprecated since version 9.2.0.
  default = getattr(obj, 'Get%s' % key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:713: DeprecationWarning: Call to deprecated method GetResultArrayName. (Please use unambiguous GetGradientArrayName method instead.) -- Deprecated since version 9.3.0.
  default = getattr(obj, 'Get%s' % key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:536: DeprecationWarning: Call to deprecated method GetPreserveInputEntityGroups. (PreserveInputEntityGroups is no longer needed.) -- Deprecated since version 9.3.0.
  tm[key] = getattr(obj, 'Get%s'%key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:713: DeprecationWarning: Call to deprecated method GetMaximumTimeStepsPerFile. (Use TimeStepRange/TimeStepStride instead.) -- Deprecated since version 9.3.0.
  default = getattr(obj, 'Get%s' % key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:536: DeprecationWarning: Call to deprecated method GetCompatibilityMode. (Deprecating compatibility mode for this filter) -- Deprecated since version 9.2.0.
  tm[key] = getattr(obj, 'Get%s'%key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:536: DeprecationWarning: Call to deprecated method GetVolume. (Part of deprecating compatibility mode for this filter) -- Deprecated since version 9.2.0.
  tm[key] = getattr(obj, 'Get%s'%key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:713: DeprecationWarning: Call to deprecated method GetStaticMesh. (Use GetMeshOverTime instead) -- Deprecated since version 9.2.0.
  default = getattr(obj, 'Get%s' % key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:713: DeprecationWarning: Call to deprecated method GetColor. (Please use unambiguous GetColorF method instead.) -- Deprecated since version 9.3.0.
  default = getattr(obj, 'Get%s' % key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:536: DeprecationWarning: Call to deprecated method GetAutoSubdividePolarAxis. (Use SetDeltaRangeMajor instead or enable AxisTickMatchesPolarAxes) -- Deprecated since version 9.3.0.
  tm[key] = getattr(obj, 'Get%s'%key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:536: DeprecationWarning: Call to deprecated method GetUseDiagonalLengthTolerance. (This method is no longer used because Tolerance is also not used) -- Deprecated since version 9.2.0.
  tm[key] = getattr(obj, 'Get%s'%key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:713: DeprecationWarning: Call to deprecated method GetDimensions. (Please use GetDimensions(int dims[3]) instead.) -- Deprecated since version 9.3.0.
  default = getattr(obj, 'Get%s' % key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:536: DeprecationWarning: Call to deprecated method GetOptimizeForRealInput. (Function has been renamed GetReturnOnesided) -- Deprecated since version 9.3.0.
  tm[key] = getattr(obj, 'Get%s'%key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:713: DeprecationWarning: Call to deprecated method GetNumberOfBlock. (Block behavior is not controlled using BlockSize and BlockOverlap properties.) -- Deprecated since version 9.3.0.
  default = getattr(obj, 'Get%s' % key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:713: DeprecationWarning: Call to deprecated method GetPrefixOutputArrays. (Deprecated in favor of always keeping the output array names the same as the input.) -- Deprecated since version 9.2.0.
  default = getattr(obj, 'Get%s' % key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:590: DeprecationWarning: Call to deprecated method GetAttributeMode. (This method is deprecated.) -- Deprecated since version 9.3.0.
  default = getattr(obj, 'Get%s'%key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:593: DeprecationWarning: Call to deprecated method SetAttributeModeToDefault. (Please use SetInputArrayToProcess instead.) -- Deprecated since version 9.3.0.
  getattr(obj, 'Set%sTo%s'%(key, x[0]))()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:602: DeprecationWarning: Call to deprecated method GetAttributeMode. (This method is deprecated.) -- Deprecated since version 9.3.0.
  val = getattr(obj, 'Get%s'%key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:593: DeprecationWarning: Call to deprecated method SetAttributeModeToUseCellData. (Please use SetInputArrayToProcess instead.) -- Deprecated since version 9.3.0.
  getattr(obj, 'Set%sTo%s'%(key, x[0]))()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:593: DeprecationWarning: Call to deprecated method SetAttributeModeToUsePointData. (Please use SetInputArrayToProcess instead.) -- Deprecated since version 9.3.0.
  getattr(obj, 'Set%sTo%s'%(key, x[0]))()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:590: DeprecationWarning: Call to deprecated method GetPointsDataType. (Please use GetOutputPointsPrecision instead.) -- Deprecated since version 9.3.0.
  default = getattr(obj, 'Get%s'%key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:593: DeprecationWarning: Call to deprecated method SetPointsDataTypeToDouble. (Please use SetOutputPointsPrecision instead.) -- Deprecated since version 9.3.0.
  getattr(obj, 'Set%sTo%s'%(key, x[0]))()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:602: DeprecationWarning: Call to deprecated method GetPointsDataType. (Please use GetOutputPointsPrecision instead.) -- Deprecated since version 9.3.0.
  val = getattr(obj, 'Get%s'%key)()
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:593: DeprecationWarning: Call to deprecated method SetPointsDataTypeToFloat. (Please use SetOutputPointsPrecision instead.) -- Deprecated since version 9.3.0.
  getattr(obj, 'Set%sTo%s'%(key, x[0]))()
Bad to call vtkUniformHyperTreeGrid::GetXCoordinates
Bad to call vtkUniformHyperTreeGrid::GetYCoordinates
Bad to call vtkUniformHyperTreeGrid::GetZCoordinates
C:\Users\rahul\github\mayavi\tvtk\vtk_parser.py:713: DeprecationWarning: Call to deprecated method GetClipValue. (Please use GetValue instead.) -- Deprecated since version 9.3.0.
  default = getattr(obj, 'Get%s' % key)()
ok
test_parse_image_reslice (tvtk.tests.test_vtk_parser.TestVTKParser.test_parse_image_reslice)
Check if the vtkImageReslice is parsed correctly. ... ok
test_props_allocated_rendertime_is_not_a_get_set_method (tvtk.tests.test_vtk_parser.TestVTKParser.test_props_allocated_rendertime_is_not_a_get_set_method) ...
 ok
test_special_non_state_methods (tvtk.tests.test_vtk_parser.TestVTKParser.test_special_non_state_methods)
Check exceptional cases that are not state methods. ... ok
test_find_type (tvtk.tests.test_wrapper_gen.TestWrapperGenerator.test_find_type) ... ok
test_sig_types (tvtk.tests.test_wrapper_gen.TestWrapperGenerator.test_sig_types) ... ok
test_unicode_return_value (tvtk.tests.test_wrapper_gen.TestWrapperGenerator.test_unicode_return_value) ... ok

======================================================================
ERROR: tvtk.tests.test_array_ext (unittest.loader._FailedTest.tvtk.tests.test_array_ext)
----------------------------------------------------------------------
ImportError: Failed to import test module: tvtk.tests.test_array_ext
Traceback (most recent call last):
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\unittest\loader.py", line 394, in _find_test_path
    module = self._get_module_from_name(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\unittest\loader.py", line 337, in _get_module_from_name
    __import__(name)
  File "C:\Users\rahul\github\mayavi\tvtk\tests\test_array_ext.py", line 13, in <module>
    from tvtk.array_ext import set_id_type_array
ModuleNotFoundError: No module named 'tvtk.array_ext'


======================================================================
ERROR: tvtk.tests.test_ctf_util (unittest.loader._FailedTest.tvtk.tests.test_ctf_util)
----------------------------------------------------------------------
ImportError: Failed to import test module: tvtk.tests.test_ctf_util
Traceback (most recent call last):
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\unittest\loader.py", line 394, in _find_test_path
    module = self._get_module_from_name(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\unittest\loader.py", line 337, in _get_module_from_name
    __import__(name)
  File "C:\Users\rahul\github\mayavi\tvtk\tests\test_ctf_util.py", line 3, in <module>
    import pytest
ModuleNotFoundError: No module named 'pytest'


======================================================================
ERROR: test_arrow (tvtk.tests.test_visual.TestVisual.test_arrow)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\rahul\github\mayavi\tvtk\tests\test_visual.py", line 180, in test_arrow
    a = visual.arrow()
        ^^^^^^^^^^^^^^
  File "C:\Users\rahul\github\mayavi\tvtk\tools\visual.py", line 1574, in __init__
    self.property = self.actor.property
                    ^^^^^^^^^^
  File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traits\trait_types.py", line 3673, in create_default_value
    return klass(*args[1:], **kw)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "tvtk_classes\actor.py", line 55, in __init__
    tvtk_base.TVTKBase.__init__(self, vtk.vtkActor, obj, update, **traits)
  File "C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py", line 427, in __init__
    super(TVTKBase, self).__init__(**traits)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: super(type, obj): obj must be an instance or subtype of type

======================================================================
ERROR: test_box (tvtk.tests.test_visual.TestVisual.test_box)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\rahul\github\mayavi\tvtk\tests\test_visual.py", line 157, in test_box
    b = visual.box(size=tuple(sz), pos=pos)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\rahul\github\mayavi\tvtk\tools\visual.py", line 1412, in __init__
    self.property = self.actor.property
                    ^^^^^^^^^^
  File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traits\trait_types.py", line 3673, in create_default_value
    return klass(*args[1:], **kw)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "tvtk_classes\actor.py", line 55, in __init__
    tvtk_base.TVTKBase.__init__(self, vtk.vtkActor, obj, update, **traits)
  File "C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py", line 427, in __init__
    super(TVTKBase, self).__init__(**traits)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: super(type, obj): obj must be an instance or subtype of type

======================================================================
ERROR: test_cone (tvtk.tests.test_visual.TestVisual.test_cone)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\rahul\github\mayavi\tvtk\tests\test_visual.py", line 88, in test_cone
    c = visual.cone()
        ^^^^^^^^^^^^^
  File "C:\Users\rahul\github\mayavi\tvtk\tools\visual.py", line 943, in __init__
    self.property = self.actor.property
                    ^^^^^^^^^^
  File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traits\trait_types.py", line 3673, in create_default_value
    return klass(*args[1:], **kw)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "tvtk_classes\actor.py", line 55, in __init__
    tvtk_base.TVTKBase.__init__(self, vtk.vtkActor, obj, update, **traits)
  File "C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py", line 427, in __init__
    super(TVTKBase, self).__init__(**traits)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: super(type, obj): obj must be an instance or subtype of type

======================================================================
ERROR: test_curve (tvtk.tests.test_visual.TestVisual.test_curve)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\rahul\github\mayavi\tvtk\tests\test_visual.py", line 236, in test_curve
    c = visual.curve(points=[[0.,0.,0.],[1.,1.,1.]], pos=(1.,1.,1.))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\rahul\github\mayavi\tvtk\tools\visual.py", line 572, in __init__
    self.property = self.actor.property
                    ^^^^^^^^^^
  File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traits\trait_types.py", line 3673, in create_default_value
    return klass(*args[1:], **kw)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "tvtk_classes\actor.py", line 55, in __init__
    tvtk_base.TVTKBase.__init__(self, vtk.vtkActor, obj, update, **traits)
  File "C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py", line 427, in __init__
    super(TVTKBase, self).__init__(**traits)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: super(type, obj): obj must be an instance or subtype of type

======================================================================
ERROR: test_cylinder (tvtk.tests.test_visual.TestVisual.test_cylinder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\rahul\github\mayavi\tvtk\tests\test_visual.py", line 138, in test_cylinder
    c = visual.cylinder(radius=0.5, length=2, pos=(1., 1, 1))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\rahul\github\mayavi\tvtk\tools\visual.py", line 1246, in __init__
    self.property = self.actor.property
                    ^^^^^^^^^^
  File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traits\trait_types.py", line 3673, in create_default_value
    return klass(*args[1:], **kw)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "tvtk_classes\actor.py", line 55, in __init__
    tvtk_base.TVTKBase.__init__(self, vtk.vtkActor, obj, update, **traits)
  File "C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py", line 427, in __init__
    super(TVTKBase, self).__init__(**traits)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: super(type, obj): obj must be an instance or subtype of type

======================================================================
ERROR: test_ellipsoid (tvtk.tests.test_visual.TestVisual.test_ellipsoid)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\rahul\github\mayavi\tvtk\tests\test_visual.py", line 203, in test_ellipsoid
    s = visual.ellipsoid(size=(1.0, 1.0, 1.0), pos=(1., 1., 1.))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\rahul\github\mayavi\tvtk\tools\visual.py", line 1975, in __init__
    self.property = self.actor.property
                    ^^^^^^^^^^
  File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traits\trait_types.py", line 3673, in create_default_value
    return klass(*args[1:], **kw)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "tvtk_classes\actor.py", line 55, in __init__
    tvtk_base.TVTKBase.__init__(self, vtk.vtkActor, obj, update, **traits)
  File "C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py", line 427, in __init__
    super(TVTKBase, self).__init__(**traits)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: super(type, obj): obj must be an instance or subtype of type

======================================================================
ERROR: test_frame (tvtk.tests.test_visual.TestVisual.test_frame)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\rahul\github\mayavi\tvtk\tests\test_visual.py", line 270, in test_frame
    s = visual.sphere()
        ^^^^^^^^^^^^^^^
  File "C:\Users\rahul\github\mayavi\tvtk\tools\visual.py", line 1091, in __init__
    self.property = self.actor.property
                    ^^^^^^^^^^
  File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traits\trait_types.py", line 3673, in create_default_value
    return klass(*args[1:], **kw)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "tvtk_classes\actor.py", line 55, in __init__
    tvtk_base.TVTKBase.__init__(self, vtk.vtkActor, obj, update, **traits)
  File "C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py", line 427, in __init__
    super(TVTKBase, self).__init__(**traits)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: super(type, obj): obj must be an instance or subtype of type

======================================================================
ERROR: test_helix (tvtk.tests.test_visual.TestVisual.test_helix)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\rahul\github\mayavi\tvtk\tests\test_visual.py", line 250, in test_helix
    h = visual.helix(pos=(1., 1.,1.))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\rahul\github\mayavi\tvtk\tools\visual.py", line 1745, in __init__
    self.property = self.actor.property
                    ^^^^^^^^^^
  File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traits\trait_types.py", line 3673, in create_default_value
    return klass(*args[1:], **kw)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "tvtk_classes\actor.py", line 55, in __init__
    tvtk_base.TVTKBase.__init__(self, vtk.vtkActor, obj, update, **traits)
  File "C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py", line 427, in __init__
    super(TVTKBase, self).__init__(**traits)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: super(type, obj): obj must be an instance or subtype of type

======================================================================
ERROR: test_ring (tvtk.tests.test_visual.TestVisual.test_ring)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\rahul\github\mayavi\tvtk\tests\test_visual.py", line 52, in test_ring
    r = visual.ring()
        ^^^^^^^^^^^^^
  File "C:\Users\rahul\github\mayavi\tvtk\tools\visual.py", line 759, in __init__
    self.property = self.actor.property
                    ^^^^^^^^^^
  File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traits\trait_types.py", line 3673, in create_default_value
    return klass(*args[1:], **kw)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "tvtk_classes\actor.py", line 55, in __init__
    tvtk_base.TVTKBase.__init__(self, vtk.vtkActor, obj, update, **traits)
  File "C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py", line 427, in __init__
    super(TVTKBase, self).__init__(**traits)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: super(type, obj): obj must be an instance or subtype of type

======================================================================
ERROR: test_sphere (tvtk.tests.test_visual.TestVisual.test_sphere)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\rahul\github\mayavi\tvtk\tests\test_visual.py", line 114, in test_sphere
    s = visual.sphere()
        ^^^^^^^^^^^^^^^
  File "C:\Users\rahul\github\mayavi\tvtk\tools\visual.py", line 1091, in __init__
    self.property = self.actor.property
                    ^^^^^^^^^^
  File "C:\Users\rahul\venvs\mayavi-venv\Lib\site-packages\traits\trait_types.py", line 3673, in create_default_value
    return klass(*args[1:], **kw)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "tvtk_classes\actor.py", line 55, in __init__
    tvtk_base.TVTKBase.__init__(self, vtk.vtkActor, obj, update, **traits)
  File "C:\Users\rahul\github\mayavi\tvtk\tvtk_base.py", line 427, in __init__
    super(TVTKBase, self).__init__(**traits)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: super(type, obj): obj must be an instance or subtype of type

----------------------------------------------------------------------
Ran 135 tests in 47.194s

FAILED (errors=12, skipped=5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant