code: def test_exception(self):
      pool = run_parallel.RunParallel()
      out = pool.run([lambda: 1, ValueError])
      self.assertEqual(out[0], 1)
      self.assertIsInstance(out[1], ValueError)
      with self.assertRaises(ValueError):
          pool.run([bad])
      with self.assertRaises(ValueError):
          pool.run([int, bad])
      pool.shutdown()
  
file_path: pysc2/pysc2/lib/run_parallel_test.py
imports: import threading
  from absl.testing import absltest
  from pysc2.lib import run_parallel
label_desc: Use image node_id 4 for calling the RunParallelTest obj's underlying member method code with example usage: obj.test_exception() without return types