diff --git a/tests/test_potential.py b/tests/test_potential.py index 58965c237..c21a11f50 100644 --- a/tests/test_potential.py +++ b/tests/test_potential.py @@ -6026,7 +6026,7 @@ def pot(R, z, amp=1.0, a=0.75): * special.jv(0, k * a) * numpy.exp(-k * numpy.fabs(z)), 0.0, - numpy.infty, + numpy.inf, )[0] )