diff options
author | mattip <matti.picus@gmail.com> | 2020-02-02 15:33:16 +0200 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2020-02-02 15:33:16 +0200 |
commit | db9cc9093677ce61f168fd8381dc2cfd30e2060f (patch) | |
tree | 985edf592ad2615115f0bdfb7af6a9fab231e802 | |
parent | 1d8d09b14ecf67cbea958ea5082fbbd422b1199e (diff) | |
download | numpy-db9cc9093677ce61f168fd8381dc2cfd30e2060f.tar.gz |
TST: mark the top 3 slowest tests to save ~10 seconds
-rw-r--r-- | numpy/core/tests/test_mem_overlap.py | 1 | ||||
-rw-r--r-- | numpy/core/tests/test_multiarray.py | 1 | ||||
-rw-r--r-- | numpy/linalg/tests/test_linalg.py | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/numpy/core/tests/test_mem_overlap.py b/numpy/core/tests/test_mem_overlap.py index 3e9875f5b..44ebf1cd2 100644 --- a/numpy/core/tests/test_mem_overlap.py +++ b/numpy/core/tests/test_mem_overlap.py @@ -725,6 +725,7 @@ class TestUFunc: a = np.arange(10000, dtype=np.int16) check(np.add, a, a[::-1], a) + @pytest.mark.slow def test_unary_gufunc_fuzz(self): shapes = [7, 13, 8, 21, 29, 32] gufunc = _umath_tests.euclidean_pdist diff --git a/numpy/core/tests/test_multiarray.py b/numpy/core/tests/test_multiarray.py index b0cfc24a8..ad38911cb 100644 --- a/numpy/core/tests/test_multiarray.py +++ b/numpy/core/tests/test_multiarray.py @@ -7161,6 +7161,7 @@ class TestNewBufferProtocol: a = np.empty((1,) * 32) self._check_roundtrip(a) + @pytest.mark.slow def test_error_too_many_dims(self): def make_ctype(shape, scalar_type): t = scalar_type diff --git a/numpy/linalg/tests/test_linalg.py b/numpy/linalg/tests/test_linalg.py index 59c71d196..ae72c4a38 100644 --- a/numpy/linalg/tests/test_linalg.py +++ b/numpy/linalg/tests/test_linalg.py @@ -1827,6 +1827,7 @@ def test_xerbla_override(): pytest.skip('Numpy xerbla not linked in.') +@pytest.mark.slow def test_sdot_bug_8577(): # Regression test that loading certain other libraries does not # result to wrong results in float32 linear algebra. |