def METHOD_NAME(self):
    with pm.Model() as model1:
        pm.Normal("n", observed=[[1]], total_size=1)
        p1 = pytensor.function([], model1.logp())
    with pm.Model() as model2:
        pm.Normal("n", observed=[[1]], total_size=2)
        p2 = pytensor.function([], model2.logp())
    assert p1() * 2 == p2()