Skip to content

Commit

Permalink
Add xfail for numba failing tests reported in #980
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoV94 committed Aug 24, 2024
1 parent 9f88e1f commit 18d73db
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/link/numba/test_cython_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,25 @@ def test_signature_provides(have, want, should_provide):
[np.float64],
float64(float64, int32),
),
(
pytest.param(
# expn doesn't have a float32 implementation
scipy.special.cython_special.expn,
np.float32,
[np.float32, np.float32],
float64(float64, float64, int32),
marks=pytest.mark.xfail(
reason="Failing in newer versions: https://github.com/pymc-devs/pytensor/issues/980"
),
),
(
pytest.param(
# We choose the integer implementation if possible
scipy.special.cython_special.expn,
np.float32,
[np.int64, np.float32],
float64(int64, float64, int32),
marks=pytest.mark.xfail(
reason="Failing in newer versions: https://github.com/pymc-devs/pytensor/issues/980"
),
),
],
)
Expand Down

0 comments on commit 18d73db

Please sign in to comment.