code: def test_tree_check():
      x = []
      y = []
      x.append(y)
      y.append(x)
      with pytest.raises(ValueError):
          eqx.tree_check(x)
  
      x = []
      x.append(x)
      with pytest.raises(ValueError):
          eqx.tree_check(x)
  
imports: import equinox
  import jax
  import jax.core
  import jax.nn
  import jax.numpy
  import jax.random
  import jax.tree_util
  import numpy
  import pytest
label_desc: Use image node_id 15 for calling a global function with example usage: test_tree_check() without return types