code: def test_deprecated_func_with_alternative(self):
      with pytest.deprecated_call(
          match="`deprecated_func_with_alternative` is deprecated, "
          "use `non_deprecated_func` instead. We'll end support of it in "
          "next major release."
      ):
          deprecated_func_with_alternative()
  
file_path: neptune-client/tests/unit/neptune/new/internal/utils/test_deprecation.py
imports: from unittest.mock import ANY, patch
  import pytest
  from neptune.common.warnings import NeptuneDeprecationWarning, warn_once
  from neptune.exceptions import NeptuneParametersCollision
  from neptune.internal.utils.deprecation import deprecated, deprecated_parameter
label_desc: Use image node_id 6 for calling the TestDeprecatedParameter obj's underlying member method code with example usage: obj.test_deprecated_func_with_alternative() without return types