code: def test_not_a_list_on_filter(self):
      # Typed List Value should raises an error
      # if no iterable variable is given on input
  
      # list of matrices
      myType = TypedListType(
          TensorType(pytensor.config.floatX, shape=(None, None))
      )
  
      with pytest.raises(TypeError):
          myType.filter(4)
  
imports: import numpy
  import pytest
  import pytensor
  from pytensor.tensor.type import TensorType
  from pytensor.typed_list.basic import TypedListVariable
  from pytensor.typed_list.type import TypedListType
  from tests.tensor.utils import random_ranged
label_desc: Use image node_id 3 for calling the TestTypedListType obj's underlying member method code with example usage: obj.test_not_a_list_on_filter() without return types