class_docstr: Test st.help.
class_docstr_tok: ["Test","st.help","."]
docstr: When the object is a class and no docs are defined,
  we expect docs to be None.
docstr_tok: ["When","the","object","is","a","class","and","no","docs","are","defined",",","we","expect","docs","to","be","None","."]
code: def test_passing_a_class(self):
      """When the object is a class and no docs are defined,
      we expect docs to be None."""
  
      class MyClass(object):
          pass
  
      with patch_varname_getter():
          st.help(MyClass)
  
      ds = self.get_delta_from_queue().new_element.doc_string
      self.assertEqual(type(MyClass), type)
      self.assertEqual("MyClass", ds.name)
      self.assertEqual(
          "tests.streamlit.elements.help_test.StHelpTest."
          "test_passing_a_class.<locals>.MyClass()",
          ds.value,
      )
      self.assertEqual("class", ds.type)
      self.assertEqual("", ds.doc_string)
  
imports: import inspect
  import sys
  import unittest
  from unittest.mock import patch
  import numpy
  import pytest
  import streamlit
  from streamlit.elements.doc_string import _get_variable_name_from_code_str
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 12 for calling the StHelpTest obj's underlying member method code with example usage: obj.test_passing_a_class() without return types