Skip to content

Commit

Permalink
Revert unnecessary changes to test_scipy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
j-towns committed Nov 16, 2023
1 parent 9b5d154 commit 526051c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions tests/test_scipy.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
warn('Skipping scipy tests.')
else:
import autograd.numpy as np
import autograd.numpy.linalg as npla
import autograd.numpy.random as npr
import autograd.scipy.signal
import autograd.scipy.stats as stats
Expand Down Expand Up @@ -190,12 +189,12 @@ def test_polygamma(): combo_check(special.polygamma, [1])([0], R(4)**2 + 1.3)
def test_jn(): combo_check(special.jn, [1])([2], R(4)**2 + 1.3)
def test_yn(): combo_check(special.yn, [1])([2], R(4)**2 + 1.3)

def test_psi(): unary_ufunc_check(special.psi, lims=[0.3, 2.0], test_complex=False)
def test_digamma(): unary_ufunc_check(special.digamma, lims=[0.3, 2.0], test_complex=False)
def test_gamma(): unary_ufunc_check(special.gamma, lims=[0.3, 2.0], test_complex=False)
def test_gammaln(): unary_ufunc_check(special.gammaln, lims=[0.3, 2.0], test_complex=False)
def test_gammasgn(): unary_ufunc_check(special.gammasgn, lims=[0.3, 2.0], test_complex=False)
def test_rgamma(): unary_ufunc_check(special.rgamma, lims=[0.3, 2.0], test_complex=False)
def test_psi(): unary_ufunc_check(special.psi, lims=[0.3, 2.0], test_complex=False)
def test_digamma(): unary_ufunc_check(special.digamma, lims=[0.3, 2.0], test_complex=False)
def test_gamma(): unary_ufunc_check(special.gamma, lims=[0.3, 2.0], test_complex=False)
def test_gammaln(): unary_ufunc_check(special.gammaln, lims=[0.3, 2.0], test_complex=False)
def test_gammasgn(): unary_ufunc_check(special.gammasgn,lims=[0.3, 2.0], test_complex=False)
def test_rgamma() : unary_ufunc_check(special.rgamma, lims=[0.3, 2.0], test_complex=False)
def test_multigammaln(): combo_check(special.multigammaln, [0])([U(4., 5.), U(4., 5., (2,3))],
[1, 2, 3])

Expand Down

0 comments on commit 526051c

Please sign in to comment.