code: def test_deprecated_classes(cls):
      with pytest.deprecated_call():
          cls()
      doc = cls.__init__.__doc__
      assert doc.endswith(
          ".. deprecated:: 2.0.1\n\tWill be removed in 2.3.0. Renamed to `OKClass`"
      )
  
imports: import hyperparameter_hunter
  from hyperparameter_hunter.utils.version_utils import HHVersion, Deprecated
  import pytest
  import re
  import warnings
label_desc: Use image node_id 14 for calling a global function with example usage: test_deprecated_classes(cls) without return types