code: def test_var_return():
      ns = {"var": var, "raises": raises}
      "raises(ValueError, lambda: var(''))"
      v2 = eval("var('q')", ns)
      v3 = eval("var('q p')", ns)
  
      assert v2 == Symbol("q")
      assert v3 == (Symbol("q"), Symbol("p"))
  
file_path: sympy/sympy/core/tests/test_var.py
imports: from sympy.core.function import Function, FunctionClass
  from sympy.core.symbol import Symbol, var
  from sympy.testing.pytest import raises
label_desc: Use image node_id 2 for calling a global function with example usage: test_var_return() without return types