code: def test_grad():
      def fun(x):
          return (x + np.sin(x**2)) * x
  
      assert (
          3.190948746871 - 1e-6 < grad(fun)(1.3) < 3.190948746871 + 1e-6
      )
  
file_path: autograd/tests/test_direct.py
imports: import numpy
  import autograd.numpy
  from autograd import grad, deriv, holomorphic_grad
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_grad() and returns: unknown