Skip to content

Commit

Permalink
TST: mark float32 gges and qz tests as knownfail
Browse files Browse the repository at this point in the history
  • Loading branch information
rgommers committed Oct 4, 2022
1 parent 35138da commit cd3bf7f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scipy/linalg/tests/test_decomp.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import itertools
import platform
import sys
import numpy as np
from numpy.testing import (assert_equal, assert_almost_equal,
assert_array_almost_equal, assert_array_equal,
Expand Down Expand Up @@ -2031,6 +2032,9 @@ class TestQZ:
def setup_method(self):
seed(12345)


@pytest.mark.xfail(sys.platform == 'darwin',
reason="gges[float32] broken for OpenBLAS on macOS, see gh-16949")
def test_qz_single(self):
n = 5
A = random([n, n]).astype(float32)
Expand Down
3 changes: 3 additions & 0 deletions scipy/linalg/tests/test_lapack.py
Original file line number Diff line number Diff line change
Expand Up @@ -2983,6 +2983,9 @@ def test_pptrs_pptri_pptrf_ppsv_ppcon(dtype, lower):

@pytest.mark.parametrize('dtype', DTYPES)
def test_gges_tgexc(dtype):
if dtype == np.float32 and sys.platform == 'darwin':
pytest.xfail("gges[float32] broken for OpenBLAS on macOS, see gh-16949")

seed(1234)
atol = np.finfo(dtype).eps*100

Expand Down

0 comments on commit cd3bf7f

Please sign in to comment.