code: def test_experimental_class(self):
      @experimental()
      class MyClass(object):
          pass
  
      with self.assertWarnsRegex(
          ExperimentalWarning,
          r"The class MyClass is experimental "
          r"and maybe subject to change soon.",
      ):
          MyClass()
  
      @experimental
      class MyOtherClass(object):
          pass
  
      with self.assertWarnsRegex(
          ExperimentalWarning,
          r"The class MyOtherClass is experimental "
          r"and maybe subject to change soon.",
      ):
          MyOtherClass()
  
imports: import unittest
  from packaging import version
  from unittest.mock import patch
  from small_text.utils.annotations import deprecated, experimental, DeprecationError, ExperimentalWarning
label_desc: Use image node_id 2 for calling the ExperimentalDecoratorTest obj's underlying member method code with example usage: obj.test_experimental_class() without return types