Skip to content

Commit

Permalink
TST: special: skip running a Wright omega test
Browse files Browse the repository at this point in the history
It fails for older versions of gcc.
  • Loading branch information
person142 committed Sep 7, 2019
1 parent 3ada772 commit e32ccb1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scipy/special/tests/test_wrightomega.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,11 @@ def test_wrightomega_exp_approximation_crossover():
)


@pytest.mark.xfail(
run=False,
reason='Fails for old versions of gcc (< 6.5)'
)
def test_wrightomega_real_versus_complex():
x = np.linspace(-500, 500, 1001)
results = sc.wrightomega(x + 0j).real
assert_func_equal(sc.wrightomega, results, x, atol=0, rtol=1e-15)
assert_func_equal(sc.wrightomega, results, x, atol=0, rtol=1e-14)

0 comments on commit e32ccb1

Please sign in to comment.