code: def test_DenseMatrix():
      t = sy.Symbol("theta")
      for MatrixType in [sy.Matrix, sy.ImmutableMatrix]:
          X = MatrixType(
              [[sy.cos(t), -sy.sin(t)], [sy.sin(t), sy.cos(t)]]
          )
          tX = theano_code_(X)
          assert isinstance(tX, tt.TensorVariable)
          assert tX.owner.op == tt.join_
  
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 36 for calling a global function with example usage: test_DenseMatrix() without return types