code: def test_disable_possible_user_warnings_from_environment(setting):
      with pytest.warns(PossibleUserWarning):
          warnings.warn("test", PossibleUserWarning)
      os.environ["POSSIBLE_USER_WARNINGS"] = setting
      importlib.reload(lightning.pytorch)
      with no_warning_call(PossibleUserWarning):
          warnings.warn("test", PossibleUserWarning)
      warnings.resetwarnings()
  
file_path: pytorch-lightning/tests/tests_pytorch/utilities/test_warnings.py
imports: import importlib
  import os
  import warnings
  from contextlib import redirect_stderr
  from io import StringIO
  from unittest import mock
  import lightning.pytorch
  import pytest
  from lightning.pytorch.utilities.warnings import PossibleUserWarning
  from lightning_utilities.test.warning import no_warning_call
label_desc: Use image node_id 1 for calling a global function with example usage: test_disable_possible_user_warnings_from_environment(setting) without return types