code: def test_dtype():
      """Test specifying specific data types through the dtype argument."""
      for dtype in [
          "float32",
          "float64",
          "int8",
          "int16",
          "int32",
          "int64",
      ]:
          assert theano_code_(x, dtypes={x: dtype}).type.dtype == dtype
  
      # "floatX" type
      assert theano_code_(x, dtypes={x: "floatX"}).type.dtype in (
          "float32",
          "float64",
      )
  
      # Type promotion
      assert (
          theano_code_(x + 1, dtypes={x: "float32"}).type.dtype
          == "float32"
      )
      assert (
          theano_code_(
              x + y, dtypes={x: "float64", y: "float32"}
          ).type.dtype
          == "float64"
      )
  
imports: import logging
  from sympy.external import import_module
  from sympy.testing.pytest import raises, SKIP, warns_deprecated_sympy
  import sympy
  from sympy.core.singleton import S
  from sympy.abc import x, y, z, t
  from sympy.printing.theanocode import theano_code, dim_handling, theano_function
label_desc: Use image node_id 14 for calling a global function with example usage: test_dtype() without return types