code: def test_no_jvp_def():
      fun = primitive(lambda x: 2.0 * x)
      with pytest.raises(NotImplementedError):
          deriv(fun)(1.0)
  
file_path: autograd/tests/test_logic.py
imports: from __future__ import division
  from contextlib import contextmanager
  import pytest
  import warnings
  import autograd.numpy
  from autograd import grad, deriv
  from autograd.extend import primitive
  from autograd.test_util import check_grads
  from autograd.core import primitive_vjps
label_desc: Use image node_id 4 for calling a global function with example usage: test_no_jvp_def() without return types