code: def test_deprecate_class(self):
      from small_text.utils.annotations import deprecated
  
      @deprecated(deprecated_in="1.0.0")
      class MyClass(object):
          pass
  
      with self.assertWarnsRegex(
          DeprecationWarning,
          r"The class MyClass has been deprecated in 1\.0\.0\.",
      ):
          MyClass()
  
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 9 for calling the DeprecationUtilsTest obj's underlying member method code with example usage: obj.test_deprecate_class() without return types