code: def test_basic():
      jf = jax.jit(_f)
      _f(1.0)
      jf(1.0)
      with _error:
          _f(-1.0)
      with _error:
          jf(-1.0)
  
file_path: equinox/tests/test_errors.py
imports: import equinox
  import equinox.internal
  import jax
  import jax.numpy
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_basic() without return types