code: def test_settings():
      from sympy.abc import x
  
      raises(TypeError, lambda: print_gtk(x, method="garbage"))
  
imports: from sympy.functions.elementary.trigonometric import sin
  from sympy.printing.gtk import print_gtk
  from sympy.testing.pytest import XFAIL, raises
label_desc: Use image node_id 2 for calling a global function with example usage: test_settings() without return types