def METHOD_NAME(self):
    # Typed list type should raises an
    # error if the argument passed for
    # type is not a valid pytensor type
    with pytest.raises(TypeError):
        TypedListType(None)