code: def test_aesara_function_bad_kwarg():
      """
      Passing an unknown keyword argument to aesara_function() should raise an
      exception.
      """
      raises(
          Exception, lambda: aesara_function_([x], [x + 1], foobar=3)
      )
  
imports: import logging
  from sympy.external import import_module
  from sympy.testing.pytest import raises, SKIP
  from sympy.utilities.exceptions import ignore_warnings
  import sympy
  from sympy.core.singleton import S
  from sympy.abc import x, y, z, t
  from sympy.printing.aesaracode import aesara_code, dim_handling, aesara_function
label_desc: Use image node_id 31 for calling a global function with example usage: test_aesara_function_bad_kwarg() without return types