Skip to content

Commit

Permalink
was getting "FAIL: test_pbdv (test_basic.TestCephes)" on 64bit Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman committed Jan 14, 2009
1 parent 59c9a3e commit adf8066
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scipy/special/tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
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):
Expand Down Expand Up @@ -358,6 +363,7 @@ def test_obl_rad2(self):
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):
Expand Down

0 comments on commit adf8066

Please sign in to comment.