From 19d344bfd4c0b348e6c978a6c90a1da4372d8f82 Mon Sep 17 00:00:00 2001 From: Julian Taylor Date: Sat, 28 Sep 2013 16:54:04 +0200 Subject: TST: improve test speed move slow test_memmap_roundtrip to slow tests decrease excessively large array size used in np.sin(x) compuation TestInterp.test_if_len_x_is_small, the code has no special path for this large size differences. --- numpy/lib/tests/test_function_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/lib/tests/test_function_base.py') diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py index dd0b6e0ee..ce9d45d5b 100644 --- a/numpy/lib/tests/test_function_base.py +++ b/numpy/lib/tests/test_function_base.py @@ -1430,7 +1430,7 @@ class TestInterp(TestCase): assert_almost_equal(np.interp(x0, x, y), .3) def test_if_len_x_is_small(self): - xp = np.arange(0, 1000, 0.0001) + xp = np.arange(0, 10, 0.0001) fp = np.sin(xp) assert_almost_equal(np.interp(np.pi, xp, fp), 0.0) -- cgit v1.2.1