code: def test_in_update_wrong_dtype(self):
      # Ensure that an error is raised if an In-wrapped variables has
      # an update of a different type
      a = theano.tensor.dscalar("a")
      b = theano.tensor.dvector("b")
      self.assertRaises(TypeError, In, a, update=b)
  
imports: from __future__ import absolute_import, print_function, division
  import six.moves.cPickle
  import os
  import shutil
  import tempfile
  import unittest
  import numpy
  import theano
  from theano.compile.io import In
label_desc: Use image node_id 6 for calling the TestFunctionIn obj's underlying member method code with example usage: obj.test_in_update_wrong_dtype() without return types