summaryrefslogtreecommitdiff
path: root/numpy/core/tests/test_mem_overlap.py
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2017-02-28 20:47:42 +0100
committerJulian Taylor <jtaylor.debian@googlemail.com>2017-02-28 20:48:04 +0100
commit0efbe711422ac32850d54f791faf8ad46fcdc4a0 (patch)
tree9732761d31070b04d8b239c631b676ec15b621b9 /numpy/core/tests/test_mem_overlap.py
parent2dd9125bad6d5b78a2d10620f76b3906860a526d (diff)
downloadpython-numpy-0efbe711422ac32850d54f791faf8ad46fcdc4a0.tar.gz
python-numpy-0efbe711422ac32850d54f791faf8ad46fcdc4a0.tar.bz2
python-numpy-0efbe711422ac32850d54f791faf8ad46fcdc4a0.zip
TST: mark some tests with slow decorator
They all are in released versions so running them all the time should not be required anymore.
Diffstat (limited to 'numpy/core/tests/test_mem_overlap.py')
-rw-r--r--numpy/core/tests/test_mem_overlap.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/numpy/core/tests/test_mem_overlap.py b/numpy/core/tests/test_mem_overlap.py
index a95a03fa4..53d56b5e7 100644
--- a/numpy/core/tests/test_mem_overlap.py
+++ b/numpy/core/tests/test_mem_overlap.py
@@ -5,7 +5,7 @@ import itertools
import numpy as np
from numpy.testing import (run_module_suite, assert_, assert_raises, assert_equal,
- assert_array_equal, assert_allclose)
+ assert_array_equal, assert_allclose, dec)
from numpy.core.multiarray_tests import solve_diophantine, internal_overlap
from numpy.core import umath_tests
@@ -97,6 +97,7 @@ def test_overlapping_assignments():
yield _check_assignment, srcidx, dstidx
+@dec.slow
def test_diophantine_fuzz():
# Fuzz test the diophantine solver
rng = np.random.RandomState(1234)
@@ -373,6 +374,7 @@ def check_may_share_memory_easy_fuzz(get_max_work, same_steps, min_count):
infeasible += 1
+@dec.slow
def test_may_share_memory_easy_fuzz():
# Check that overlap problems with common strides are always
# solved with little work.
@@ -382,6 +384,7 @@ def test_may_share_memory_easy_fuzz():
min_count=2000)
+@dec.slow
def test_may_share_memory_harder_fuzz():
# Overlap problems with not necessarily common strides take more
# work.
@@ -683,6 +686,7 @@ class TestUFunc(object):
# Check result
assert_copy_equivalent(operation, [a], out=b_out, axis=axis)
+ @dec.slow
def test_unary_ufunc_call_fuzz(self):
self.check_unary_fuzz(np.invert, None, np.int16)
@@ -893,6 +897,7 @@ class TestUFunc(object):
check(x, x.copy(), x)
check(x, x, x.copy())
+ @dec.slow
def test_binary_ufunc_1d_manual(self):
ufunc = np.add