def METHOD_NAME(stability, skew, Reparam):
    if Reparam is SymmetricStableReparam and (skew != 0 or stability == 2):
        pytest.skip()
    if stability == 2 and skew in (-1, 1):
        pytest.skip()
    def model():
        with pyro.plate("particles", 20000):
            return pyro.sample("x", dist.Stable(stability, skew))
    expected = model()
    with poutine.reparam(config={"x": Reparam()}):
        actual = model()
    assert ks_2samp(expected, actual).pvalue > 0.03