[Scipy-svn] r5463 - branches/0.7.x/scipy/special/tests
scipy-svn at scipy.org
scipy-svn at scipy.org
Wed Jan 14 01:22:56 EST 2009
Author: jarrod.millman
Date: 2009-01-14 00:22:55 -0600 (Wed, 14 Jan 2009)
New Revision: 5463
Modified:
branches/0.7.x/scipy/special/tests/test_basic.py
Log:
was getting "FAIL: test_pbdv (test_basic.TestCephes)" on 64bit Ubuntu
Modified: branches/0.7.x/scipy/special/tests/test_basic.py
===================================================================
--- branches/0.7.x/scipy/special/tests/test_basic.py 2009-01-13 16:09:13 UTC (rev 5462)
+++ branches/0.7.x/scipy/special/tests/test_basic.py 2009-01-14 06:22:55 UTC (rev 5463)
@@ -28,7 +28,12 @@
from scipy.special import *
import scipy.special._cephes as cephes
+# Determine number of bits
+import platform
+_bits = {'32bit':32,'64bit':64}
+platform_bits = _bits[platform.architecture()[0]]
+
class TestCephes(TestCase):
def test_airy(self):
cephes.airy(0)
@@ -358,6 +363,7 @@
def test_obl_rad2_cv(self):
cephes.obl_rad2_cv(1,1,1,1,0)
+ @dec.knownfailureif(platform_bits==64)
def test_pbdv(self):
assert_equal(cephes.pbdv(1,0),(0.0,0.0))
def test_pbvv(self):
More information about the Scipy-svn
mailing list