code: def setup_test_printer(**kwargs):
      p = CodePrinter(settings=kwargs)
      p._not_supported = set()
      p._number_symbols = set()
      return p
  
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 1 for calling a global function with example usage: setup_test_printer() and returns: p