code: def test_wrong_input_on_filter(self):
      # Typed list type should raises an
      # error if the argument given to filter
      # isn't of the same type as the one
      # specified on creation
  
      # list of matrices
      myType = TypedListType(
          T.TensorType(theano.config.floatX, (False, False))
      )
  
      self.assertRaises(TypeError, myType.filter, [4])
  
imports: from __future__ import absolute_import, print_function, division
  import unittest
  import numpy
  import theano
  import theano.typed_list
  from theano import tensor
  from theano.typed_list.type import TypedListType
  from theano.tests import unittest_tools
label_desc: Use image node_id 3 for calling the test_typed_list_type obj's underlying member method code with example usage: obj.test_wrong_input_on_filter() without return types