code: def test_warn_suppressed():
      log = run_string_as_driver(
          """
  from ray.util.annotations import Deprecated
  
  @Deprecated(message="functionisdeprecated", warning=True)
  def func():
      return 15
  
  for _ in range(3):
      func()
      """,
          env={"PYTHONWARNINGS": "ignore::DeprecationWarning"},
      )
      assert log.count("functionisdeprecated") == 0
  
file_path: ray/python/ray/tests/test_annotations.py
imports: import sys
  import warnings
  import pytest
  from ray.util.annotations import Deprecated
  from ray._private.test_utils import run_string_as_driver
label_desc: Use image node_id 3 for calling a global function with example usage: test_warn_suppressed() without return types