code: def setup_filters():
      """Set global warning behavior for the test suite."""
  
      warnings.resetwarnings()
  
      warnings.filterwarnings(
          "error", category=sa_exc.SADeprecationWarning
      )
      warnings.filterwarnings("error", category=sa_exc.SAWarning)
  
      # some selected deprecations...
      warnings.filterwarnings("error", category=DeprecationWarning)
      if not sqla_14:
          # 1.3 uses pkg_resources in PluginLoader
          warnings.filterwarnings(
              "ignore",
              "pkg_resources is deprecated as an API",
              DeprecationWarning,
          )
      try:
          import pytest
      except ImportError:
          pass
      else:
          warnings.filterwarnings(
              "once", category=pytest.PytestDeprecationWarning
          )
  
imports: import warnings
  from sqlalchemy import exc
  from ..util import sqla_14
label_desc: Use image node_id 1 for calling a global function with example usage: setup_filters() without return types