def METHOD_NAME(self):
    # Typed list types should only be equal
    # when they contains the same pytensor
    # variables
    # list of matrices
    myType1 = TypedListType(TensorType(pytensor.config.floatX, shape=(None, None)))
    # list of matrices
    myType2 = TypedListType(TensorType(pytensor.config.floatX, shape=(None, None)))
    # list of scalars
    myType3 = TypedListType(TensorType(pytensor.config.floatX, shape=()))
    assert myType2 == myType1
    assert myType3 != myType1