code: def test_pyobject_repr(self):
      self.assertEqual(repr(py_object()), "py_object(<NULL>)")
      self.assertEqual(repr(py_object(42)), "py_object(42)")
      self.assertEqual(
          repr(py_object(object)), "py_object(%r)" % object
      )
  
file_path: cpython/Lib/test/test_ctypes/test_python_api.py
imports: import _ctypes
  import sys
  import unittest
  from test import support
  from ctypes import pythonapi, POINTER, create_string_buffer, sizeof, py_object, c_char_p, c_char, c_long, c_size_t
label_desc: Use image node_id 6 for calling the PythonAPITestCase obj's underlying member method code with example usage: obj.test_pyobject_repr() without return types