code: def test_cleanup(self, use_wm_v2):
      self.enter_context(
          flagsaver.flagsaver(lp_worker_manager_v2=use_wm_v2)
      )
      # Test verifies that test cleanup works.
      p = program.Program("test")
  
      with p.group("block"):
          p.add_node(python.PyNode(_block))
  
      resources = dict(block=_get_default_py_node_config())
      launch.launch(p, test_case=self, local_resources=resources)
  
imports: from absl.testing import absltest
  from absl.testing import flagsaver
  from absl.testing import parameterized
  import launchpad
  from launchpad import program
  from launchpad.launch.test_multi_processing import launch
  from launchpad.nodes.python import local_multi_processing
  from launchpad.nodes.python import node
  from launchpad.program_stopper import program_stopper
label_desc: Use image node_id 8 for calling the LaunchTest obj's underlying member method code with example usage: obj.test_cleanup(use_wm_v2) without return types