code: def test_not_cupy_print():
      prntr = CuPyPrinter()
      with raises(NotImplementedError):
          prntr.doprint("abcd(x)")
  
file_path: sympy/sympy/printing/tests/test_cupy.py
imports: from sympy.concrete.summations import Sum
  from sympy.functions.elementary.exponential import log
  from sympy.functions.elementary.miscellaneous import sqrt
  from sympy.utilities.lambdify import lambdify
  from sympy.abc import x, i, a, b
  from sympy.codegen.numpy_nodes import logaddexp
  from sympy.printing.numpy import CuPyPrinter, _cupy_known_constants, _cupy_known_functions
  from sympy.testing.pytest import skip, raises
  from sympy.external import import_module
label_desc: Use image node_id 2 for calling a global function with example usage: test_not_cupy_print() without return types