diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-12-24 14:46:01 -0800 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-12-24 14:46:01 -0800 |
commit | 61998c22df08e7ec0938bedef931ac824cfb634a (patch) | |
tree | 4ac06c498907f324ab9280776be3e354b1d070eb /numpy/lib/tests/test_function_base.py | |
parent | bc82e93cbc0d8b3294764932339eb78a8a1e6e3c (diff) | |
parent | 9e836c2c5cc0911269ac692a25fc4ec42273354b (diff) | |
download | numpy-61998c22df08e7ec0938bedef931ac824cfb634a.tar.gz |
Merge pull request #4141 from rgommers/py34-fixes
Fix a few issues that show up with python 3.4b1
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r-- | numpy/lib/tests/test_function_base.py | 2 |
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 2255c0b36..494b512f7 100644 --- a/numpy/lib/tests/test_function_base.py +++ b/numpy/lib/tests/test_function_base.py @@ -972,7 +972,7 @@ class TestHistogram(TestCase): # Normalization h, b = histogram(a, range=[1, 9], normed=True) - assert_equal((h * diff(b)).sum(), 1) + assert_almost_equal((h * diff(b)).sum(), 1, decimal=15) # Weights w = np.arange(10) + .5 |