code: def test_deprecated_function():
      msg = "``tests.utils.test_annotations.function`` is deprecated"
      with pytest.warns(FutureWarning, match=re.escape(msg)):
          assert function() == 1
      assert msg in function.__doc__
  
imports: import re
  import pytest
  from mlflow.utils.annotations import deprecated
label_desc: Use image node_id 3 for calling a global function with example usage: test_deprecated_function() without return types