code: def test_docstrings(doc):
      assert doc(UserType) == "A `py::class_` type for testing"
      assert UserType.__name__ == "UserType"
      assert UserType.__module__ == "pybind11_tests"
      assert UserType.get_value.__name__ == "get_value"
      assert UserType.get_value.__module__ == "pybind11_tests"
  
      assert (
          doc(UserType.get_value)
          == """
          get_value(self: m.UserType) -> int
  
          Get value using a method
      """
      )
      assert doc(UserType.value) == "Get/set value using a property"
  
      assert (
          doc(m.NoConstructor.new_instance)
          == """
          new_instance() -> m.class_.NoConstructor
  
          Return an instance
      """
      )
  
imports: import pytest
  import env
  from pybind11_tests import ConstructorStats, UserType
  from pybind11_tests import class_
label_desc: Use image node_id 10 for calling a global function with example usage: test_docstrings(doc) without return types