code: def test_abstract(self):
      from ctypes import (
          Array,
          Structure,
          Union,
          _Pointer,
          _SimpleCData,
          _CFuncPtr,
      )
  
      self.assertRaises(TypeError, Array.from_param, 42)
      self.assertRaises(TypeError, Structure.from_param, 42)
      self.assertRaises(TypeError, Union.from_param, 42)
      self.assertRaises(TypeError, _CFuncPtr.from_param, 42)
      self.assertRaises(TypeError, _Pointer.from_param, 42)
      self.assertRaises(TypeError, _SimpleCData.from_param, 42)
  
file_path: catboost/contrib/tools/python/src/Lib/ctypes/test/test_parameters.py
imports: import unittest, sys
  from ctypes.test import need_symbol
  import test.support
label_desc: Use image node_id 12 for calling the SimpleTypesTestCase obj's underlying member method code with example usage: obj.test_abstract() without return types