code: def test_maybe_mangle_lambdas_named():
      func = {"C": np.mean, "D": {"foo": np.mean, "bar": np.mean}}
      result = maybe_mangle_lambdas(func)
      assert result == func
  
file_path: pandas/pandas/tests/test_aggregation.py
imports: import numpy
  import pytest
  from pandas.core.apply import _make_unique_kwarg_list, maybe_mangle_lambdas
label_desc: Use image node_id 5 for calling a global function with example usage: test_maybe_mangle_lambdas_named() without return types