From 78608d549a32b6bb0a1b6c7cd123dd7282178e28 Mon Sep 17 00:00:00 2001 From: David Gobbi <david.gobbi@gmail.com> Date: Sat, 21 Oct 2023 08:51:48 -0600 Subject: [PATCH] Remove numpy.character comments from numpy test The use of "character" as a dtype in numpy has been deprecated for years (#18097), so comments about supporting it in VTK's numpy interface are out-of-date. --- Common/Core/Testing/Python/TestNumpySupport.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Common/Core/Testing/Python/TestNumpySupport.py b/Common/Core/Testing/Python/TestNumpySupport.py index afeb4951d51..ede24fde9b5 100644 --- a/Common/Core/Testing/Python/TestNumpySupport.py +++ b/Common/Core/Testing/Python/TestNumpySupport.py @@ -51,10 +51,6 @@ class TestNumpySupport(Testing.vtkTest): # Test the different types of arrays. t_z.append(numpy.array([-128, 0, 127], numpy.int8)) - - # FIXME: character arrays are a problem since there is no - # unique mapping to a VTK data type and back. - #t_z.append(numpy.array([-128, 0, 127], numpy.character)) t_z.append(numpy.array([-32768, 0, 32767], numpy.int16)) t_z.append(numpy.array([-2147483648, 0, 2147483647], numpy.int32)) t_z.append(numpy.array([0, 255], numpy.uint8)) -- GitLab