code: def test_deprecated_type_error():
      with pytest.raises(
          TypeError,
          match="Cannot set `v_remove` without also setting `v_deprecate`",
      ):
          Deprecated(
              v_remove="0.0.1",
              details="Nice try, buddy. Gotta deprecate before removal",
          )
  
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 13 for calling a global function with example usage: test_deprecated_type_error() without return types