code: def test_list():
      assert eqx.tree_pformat([1, 2]) == ("[1, 2]")
      assert eqx.tree_pformat([1]) == "[1]"
      assert eqx.tree_pformat([]) == "[]"
  
file_path: equinox/tests/test_pformat.py
imports: import functools
  import typing
  import equinox
  import jax
  import jax.numpy
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: test_list() without return types