diff --git a/tests/test_pv2qdf.py b/tests/test_pv2qdf.py index bded2863b..ef9d173e1 100644 --- a/tests/test_pv2qdf.py +++ b/tests/test_pv2qdf.py @@ -262,6 +262,6 @@ def test_pvRvz_staeckel_arrayin(): pot=MWPotential,aA=aAS,cutcounter=True) R,z= 0.8, 0.1 pvRvz= qdf.pvRvz(0.1,0.05,R*numpy.ones(2),z*numpy.ones(2)) - assert numpy.all(numpy.log(pvRvz)-numpy.log(qdf.pvRvz(0.1,0.05,R,z))) < 10.**-10., 'pvRvz calculated with R and z array input does not equal to calculated with scalar input' + assert numpy.all(numpy.log(pvRvz)-numpy.log(qdf.pvRvz(0.1,0.05,R,z)) < 10.**-10.), 'pvRvz calculated with R and z array input does not equal to calculated with scalar input' return None diff --git a/tests/test_qdf.py b/tests/test_qdf.py index e947076e7..f798dcd18 100644 --- a/tests/test_qdf.py +++ b/tests/test_qdf.py @@ -649,7 +649,7 @@ def test_pvz_staeckel_arrayin(): pot=MWPotential,aA=aAS,cutcounter=True) R,z= 0.8, 0.1 pvz= qdf.pvz(0.05,R*numpy.ones(2),z*numpy.ones(2)) - assert numpy.all(numpy.log(pvz)-numpy.log(qdf.pvz(0.05,R,z))) < 10.**-10., 'pvz calculated with R and z array input does not equal to calculated with scalar input' + assert numpy.all(numpy.log(pvz)-numpy.log(qdf.pvz(0.05,R,z)) < 10.**-10.), 'pvz calculated with R and z array input does not equal to calculated with scalar input' return None def test_setup_diffsetups():