Skip to content

Commit

Permalink
Merge pull request scipy#8513 from person142/slow-test
Browse files Browse the repository at this point in the history
TST: special: mark a slow test as xslow
  • Loading branch information
ev-br authored Mar 3, 2018
2 parents 1c673bc + a0196bf commit d547cc5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scipy/special/tests/test_precompute_gammainc.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ def test_gammainc():
nan_ok=False, rtol=1e-17, n=50, dps=50)


@pytest.mark.xslow
@check_version(mp, '0.19')
def test_gammaincc():
# Quick check that the gammaincc in
# special._precompute.gammainc_data agrees with mpmath's
# gammainc.
# Check that the gammaincc in special._precompute.gammainc_data
# agrees with mpmath's gammainc.
assert_mpmath_equal(lambda a, x: gammaincc(a, x, dps=1000),
lambda a, x: mp.gammainc(a, a=x, regularized=True),
[Arg(20, 100), Arg(20, 100)],
Expand All @@ -114,4 +114,3 @@ def test_gammaincc():
lambda a, x: mp.gammainc(a, a=x, regularized=True),
[IntArg(1, 100), Arg(0, 100)],
nan_ok=False, rtol=1e-17, n=50, dps=50)

0 comments on commit d547cc5

Please sign in to comment.