code: def test_tree_parallel_map_reraise():
      def fn(x):
          raise ValueError("Bad value")
  
      with pytest.raises(ValueError, match="Bad value"):
          tree_utils.parallel_map(fn, [1])
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_tree_parallel_map_reraise() without return types