Skip to content

Commit a061106

Browse files
ricardoV94michaelosthege
authored andcommitted
Remove obsolete tests
1 parent 02a3fa5 commit a061106

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

pymc3/tests/test_distributions_random.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1660,24 +1660,6 @@ def ref_rand(size, tau):
16601660

16611661
pymc3_random(BoundedNormal, {"tau": Rplus}, ref_rand=ref_rand)
16621662

1663-
def test_skew_normal(self):
1664-
def ref_rand(size, alpha, mu, sigma):
1665-
return st.skewnorm.rvs(size=size, a=alpha, loc=mu, scale=sigma)
1666-
1667-
pymc3_random(pm.SkewNormal, {"mu": R, "sigma": Rplus, "alpha": R}, ref_rand=ref_rand)
1668-
1669-
def test_logitnormal(self):
1670-
def ref_rand(size, mu, sigma):
1671-
return expit(st.norm.rvs(loc=mu, scale=sigma, size=size))
1672-
1673-
pymc3_random(pm.LogitNormal, {"mu": R, "sigma": Rplus}, ref_rand=ref_rand)
1674-
1675-
def test_moyal(self):
1676-
def ref_rand(size, mu, sigma):
1677-
return st.moyal.rvs(loc=mu, scale=sigma, size=size)
1678-
1679-
pymc3_random(pm.Moyal, {"mu": R, "sigma": Rplus}, ref_rand=ref_rand)
1680-
16811663
@pytest.mark.xfail(reason="This distribution has not been refactored for v4")
16821664
def test_lkj(self):
16831665
for n in [2, 10, 50]:

0 commit comments

Comments
 (0)