diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-02-02 09:47:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-02 09:47:09 -0800 |
commit | 8e3062d1e24019e294fd6501ffdd64da082a8c62 (patch) | |
tree | 4d84808cc0b54209ad631d84a02f6914872c774c | |
parent | cd82df3bf8398ca479b3517583e34a143cea05f2 (diff) | |
parent | db9cc9093677ce61f168fd8381dc2cfd30e2060f (diff) | |
download | numpy-8e3062d1e24019e294fd6501ffdd64da082a8c62.tar.gz |
Merge pull request #15491 from mattip/mark-slow
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. |