code: def test_docstring(component_class):
      assert not list(
          unified_diff(
              expected_table_component_doc,
              component_class.__doc__.splitlines(),
          )
      )
  
imports: import json
  import os
  from collections import OrderedDict
  from difflib import unified_diff
  import pytest
  from dash.development._py_components_generation import generate_class
  from dash.development.component_generator import reserved_words
  from .None import _dir, expected_table_component_doc
label_desc: Use image node_id 10 for calling a global function with example usage: test_docstring(component_class) without return types