code: def test_beta(callable, match):
      # Clear warning cache
      _raise_beta_warning.cache_clear()
  
      with pytest.warns(UserWarning, match=match):
          callable()
  
file_path: lightning-flash/tests/core/utilities/test_stability.py
imports: import pytest
  from flash.core.utilities.imports import _TOPIC_CORE_AVAILABLE
  from flash.core.utilities.stability import _raise_beta_warning, beta
label_desc: Use image node_id 3 for calling a global function with example usage: test_beta(callable, match) without return types