summaryrefslogtreecommitdiff
path: root/numpy/lib/tests
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-02-27 12:27:17 -0500
committerCharles Harris <charlesr.harris@gmail.com>2015-02-27 12:27:17 -0500
commit96abd32de241864ee97f30357234cbc9a96c43ae (patch)
treef53e6e7c1ac8cee5a0aeda47968d68a7bfdb2b7c /numpy/lib/tests
parent06af9918f6bf03b8d818ec834f9fb48db57d1489 (diff)
parent444b5ac1eb8d0e2bfe548770af3ab8e6af846832 (diff)
downloadnumpy-96abd32de241864ee97f30357234cbc9a96c43ae.tar.gz
Merge pull request #5614 from charris/cleanup-gh-5587
BLD: Add support for MinGW-w64/OpenBLAS
Diffstat (limited to 'numpy/lib/tests')
-rw-r--r--numpy/lib/tests/test_function_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py
index 03521ca4c..a37c527d9 100644
--- a/numpy/lib/tests/test_function_base.py
+++ b/numpy/lib/tests/test_function_base.py
@@ -668,7 +668,7 @@ class TestVectorize(TestCase):
args = np.array([0, 0.5*np.pi, np.pi, 1.5*np.pi, 2*np.pi])
r1 = f(args)
r2 = np.cos(args)
- assert_array_equal(r1, r2)
+ assert_array_almost_equal(r1, r2)
def test_keywords(self):
import math