code: def set_up_tests(request):
      logging.disable(logging.CRITICAL)
  
      def tear_down_tests():
          try:
              shutil.rmtree(".darts")
          except FileNotFoundError:
              pass
  
      request.addfinalizer(tear_down_tests)
  
imports: import logging
  import shutil
  import tempfile
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: set_up_tests(request) without return types