code: def test_2(self):
      val_array = (Value * 4)()
  
      # memory contains 4 NUL bytes now, that's correct
      self.assertEqual("00-00-00-00", dump(val_array))
  
      ptr = cast(val_array, POINTER(Value))
      # set the values of the array through the pointer:
      for i in range(4):
          ptr[i].val = i + 1
  
      values = [ptr[i].val for i in range(4)]
  
      # These are the expected results: here s the bug!
      self.assertEqual(
          (values, dump(val_array)), ([1, 2, 3, 4], "01-02-03-04")
      )
  
file_path: cpython/Lib/test/test_ctypes/test_array_in_pointer.py
imports: import binascii
  import re
  import unittest
  from ctypes import c_byte, Structure, POINTER, cast
label_desc: Use image node_id 2 for calling the Test obj's underlying member method code with example usage: obj.test_2() without return types