diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2022-11-15 20:26:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-15 20:26:32 +0100 |
commit | a7abbeec3f1f974c249a7aa6802debebead0b385 (patch) | |
tree | b0e4fb653fc15ee5ebe3d580b6a43dd6d045075e /numpy/linalg | |
parent | 8fff8ce75941483040d2fad4b00939abc82b5b2c (diff) | |
parent | 9a9a4c6563ad98550ee9a123cef2db95c8315e00 (diff) | |
download | numpy-a7abbeec3f1f974c249a7aa6802debebead0b385.tar.gz |
Merge pull request #21895 from hoodmane/emscripten-ci
ENH, CI: Add Emscripten to CI
Diffstat (limited to 'numpy/linalg')
-rw-r--r-- | numpy/linalg/tests/test_linalg.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/linalg/tests/test_linalg.py b/numpy/linalg/tests/test_linalg.py index f871a5f8e..b1dbd4c22 100644 --- a/numpy/linalg/tests/test_linalg.py +++ b/numpy/linalg/tests/test_linalg.py @@ -19,7 +19,7 @@ from numpy.linalg.linalg import _multi_dot_matrix_chain_order from numpy.testing import ( assert_, assert_equal, assert_raises, assert_array_equal, assert_almost_equal, assert_allclose, suppress_warnings, - assert_raises_regex, HAS_LAPACK64, + assert_raises_regex, HAS_LAPACK64, IS_WASM ) @@ -1063,6 +1063,7 @@ class TestMatrixPower: assert_raises(LinAlgError, matrix_power, np.array([[1], [2]], dt), 1) assert_raises(LinAlgError, matrix_power, np.ones((4, 3, 2), dt), 1) + @pytest.mark.skipif(IS_WASM, reason="fp errors don't work in wasm") def test_exceptions_not_invertible(self, dt): if dt in self.dtnoinv: return @@ -1845,6 +1846,7 @@ def test_byteorder_check(): assert_array_equal(res, routine(sw_arr)) +@pytest.mark.skipif(IS_WASM, reason="fp errors don't work in wasm") def test_generalized_raise_multiloop(): # It should raise an error even if the error doesn't occur in the # last iteration of the ufunc inner loop @@ -1908,6 +1910,7 @@ def test_xerbla_override(): pytest.skip('Numpy xerbla not linked in.') +@pytest.mark.skipif(IS_WASM, reason="Cannot start subprocess") @pytest.mark.slow def test_sdot_bug_8577(): # Regression test that loading certain other libraries does not |