diff options
| author | Charles Harris <charlesr.harris@gmail.com> | 2013-10-14 10:58:47 -0700 |
|---|---|---|
| committer | Charles Harris <charlesr.harris@gmail.com> | 2013-10-14 10:58:47 -0700 |
| commit | 681025d3f601dd2ac4ec3b24f728b4e319218c8d (patch) | |
| tree | 44a0b4a2a43365c3dc51de441aa2700e5df0ba35 /numpy/lib | |
| parent | 4dbf3fe9ae3c0f06dd129646baa7a4f6e498291d (diff) | |
| parent | 19d344bfd4c0b348e6c978a6c90a1da4372d8f82 (diff) | |
| download | numpy-681025d3f601dd2ac4ec3b24f728b4e319218c8d.tar.gz | |
Merge pull request #3820 from juliantaylor/microopt
A couple micro optimizations
Diffstat (limited to 'numpy/lib')
| -rw-r--r-- | numpy/lib/tests/test_format.py | 1 | ||||
| -rw-r--r-- | numpy/lib/tests/test_function_base.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_format.py b/numpy/lib/tests/test_format.py index 81b672839..91643e559 100644 --- a/numpy/lib/tests/test_format.py +++ b/numpy/lib/tests/test_format.py @@ -429,6 +429,7 @@ def test_roundtrip(): yield assert_array_equal, arr, arr2 +@dec.slow def test_memmap_roundtrip(): # XXX: test crashes nose on windows. Fix this if not (sys.platform == 'win32' or sys.platform == 'cygwin'): diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py index 36f078de1..8b239d7c0 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) |
