code: def test_experimental_class(args, kwargs):
      with pytest.warns(
          ExperimentalWarning,
          match=r"^ClassNoInit is experimental: class is experimental\.",
      ):
          ClassNoInit()
  
      with pytest.warns(
          ExperimentalWarning,
          match=r"^ClassInit is experimental: class is experimental\.",
      ):
          instance = ClassInit(*args, **kwargs)
  
      assert instance.args == args
      assert instance.kwargs == kwargs
  
file_path: stellargraph/tests/core/test_experimental.py
imports: import pytest
  import random
  from stellargraph.core.experimental import experimental, ExperimentalWarning
label_desc: Use image node_id 5 for calling a global function with example usage: test_experimental_class(args, kwargs) without return types