code: def _pretty_special_fun_name(case):
      shapes_str = "_".join(
          "x".join(map(str, shape)) if shape else "s"
          for shape in case["shapes"]
      )
      dtypes_str = "_".join(np.dtype(d).name for d in case["dtypes"])
      name = f"_{case['op']}_{shapes_str}_{dtypes_str}"
      return dict(**case, testcase_name=name)
  
file_path: jax/tests/lax_scipy_special_functions_test.py
imports: import collections
  import functools
  import itertools
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  import scipy.special
  import jax
  from jax._src import test_util
  from jax.scipy import special
  from jax import config
label_desc: Use image node_id 2 for calling a global function with example usage: _pretty_special_fun_name(case) and returns: dict