def METHOD_NAME(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(TensorType(aesara.config.floatX, shape=(None, None)))
    with pytest.raises(TypeError):
        myType.filter([4])