summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-03-16 14:17:17 -0600
committerCharles Harris <charlesr.harris@gmail.com>2016-03-16 14:17:17 -0600
commitfdfc4807cbe2de71f74053c45ae0de383332c4e1 (patch)
treed934c1843662ee7d1c8b2c22f6fe5af1032c7997 /numpy/lib/tests/test_function_base.py
parent858b5b201f82be0aa98210dc363f049939a15e31 (diff)
parent434c4ecbe010c0bacf7f93cdf761ca015eeae3fb (diff)
downloadnumpy-fdfc4807cbe2de71f74053c45ae0de383332c4e1.tar.gz
Merge pull request #7423 from madphysicist/hist-range
BUG: Ongoing fixes to PR#7416
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-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 20c786ad1..63ebb6d0c 100644
--- a/numpy/lib/tests/test_function_base.py
+++ b/numpy/lib/tests/test_function_base.py
@@ -1512,7 +1512,7 @@ class TestHistogramOptimBinNums(TestCase):
# some basic sanity checking, with some fixed data. Checking for the correct number of bins
basic_test = {50: {'fd': 8, 'scott': 8, 'rice': 15, 'sturges': 14, 'auto': 14},
500: {'fd': 15, 'scott': 16, 'rice': 32, 'sturges': 20, 'auto': 20},
- 5000: {'fd': 33, 'scott': 33, 'rice': 69, 'sturges': 28, 'auto': 33}}
+ 5000: {'fd': 33, 'scott': 33, 'rice': 69, 'sturges': 27, 'auto': 33}}
for testlen, expectedResults in basic_test.items():
# create some sort of non uniform data to test with (3 peak uniform mixture)