code: def test_cast(self):
      x = zvector()
      self.assertRaises(TypeError, cast, x, "int32")
  
file_path: Theano/theano/tensor/tests/test_complex.py
imports: from __future__ import absolute_import, print_function, division
  import unittest
  from six.moves import xrange
  import theano
  import numpy
  from theano.tensor import *
  from theano.tests import unittest_tools
  from numpy.testing import dec
label_desc: Use image node_id 3 for calling the TestRealImag obj's underlying member method code with example usage: obj.test_cast() without return types