summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2010-07-07 04:31:55 +0000
committerCharles Harris <charlesr.harris@gmail.com>2010-07-07 04:31:55 +0000
commitcda4d595f074f09d8cf113d37cb9c8079c6752d8 (patch)
tree14156314d4f206bd7f169cdf2e6220ee86cfc160 /numpy/lib/tests/test_function_base.py
parenta5b4a598d0ef164dba7e0876133c3ea78b96aab8 (diff)
downloadnumpy-cda4d595f074f09d8cf113d37cb9c8079c6752d8.tar.gz
Don't deprecated bias keyword, just add ddof.
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r--numpy/lib/tests/test_function_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py
index 6be1b204f..5d0f8aa45 100644
--- a/numpy/lib/tests/test_function_base.py
+++ b/numpy/lib/tests/test_function_base.py
@@ -828,11 +828,11 @@ class TestCorrCoef(TestCase):
B = array([[ 0.10377691, 0.5417086 , 0.49807457],
[ 0.82872117, 0.77801674, 0.39226705],
[ 0.9314666 , 0.66800209, 0.03538394]])
- assert_almost_equal(corrcoef(A, ddof=1),
+ assert_almost_equal(corrcoef(A),
array([[ 1. , 0.9379533 , -0.04931983],
[ 0.9379533 , 1. , 0.30007991],
[-0.04931983, 0.30007991, 1. ]]))
- assert_almost_equal(corrcoef(A, B, ddof=1),
+ assert_almost_equal(corrcoef(A, B),
array([[ 1. , 0.9379533 , -0.04931983,
0.30151751, 0.66318558, 0.51532523],
[ 0.9379533 , 1. , 0.30007991,