summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_regression.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/tests/test_regression.py')
-rw-r--r--numpy/lib/tests/test_regression.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_regression.py b/numpy/lib/tests/test_regression.py
index 33685f638..c244aea87 100644
--- a/numpy/lib/tests/test_regression.py
+++ b/numpy/lib/tests/test_regression.py
@@ -12,7 +12,7 @@ class TestRegression(TestCase):
def test_cov_parameters(self,level=rlevel):
"""Ticket #91"""
- x = np.random.random_sample((3,3))
+ x = np.random.random((3,3))
y = x.copy()
np.cov(x, rowvar=1)
np.cov(y, rowvar=0)