code: def suppress_dst_tests_output():
      if os.environ["LOCAL_RANK"] != 0:
          with contextlib.redirect_stderr(None):
              with contextlib.redirect_stdout(None):
                  yield
      else:
          yield
  
file_path: avalanche/tests/distributed/distributed_test_utils.py
imports: import contextlib
  import os
  import torch
  from avalanche.distributed import DistributedHelper
label_desc: Use image node_id 4 for calling a global function with example usage: suppress_dst_tests_output() without return types