code: def test_print_Dummy():
      d = Dummy("d")
      p = setup_test_printer()
      assert p._print_Dummy(d) == "d_%i" % d.dummy_index
  
file_path: sympy/sympy/printing/tests/test_codeprinter.py
imports: from sympy.printing.codeprinter import CodePrinter, PrintMethodNotImplementedError
  from sympy.core import symbols
  from sympy.core.symbol import Dummy
  from sympy.testing.pytest import raises
label_desc: Use image node_id 2 for calling a global function with example usage: test_print_Dummy() without return types