summaryrefslogtreecommitdiff
path: root/numpy/random/tests/test_regression.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-06-09 08:11:02 -0700
committerCharles Harris <charlesr.harris@gmail.com>2013-06-09 08:11:02 -0700
commit558cd20c29db0cd89c4d92fc354602650f861064 (patch)
treead3531de30581e88b146aecbce8c057e4f792d30 /numpy/random/tests/test_regression.py
parent704b456e49b13150aa693f4fd7d66dca0d541f0b (diff)
parent163f6df5a6668d06cb7abfe38dbd03d19b26d6f3 (diff)
downloadnumpy-558cd20c29db0cd89c4d92fc354602650f861064.tar.gz
Merge pull request #3243 from seberg/deprecate-non-integer-arguments-new
Deprecate non integer arguments
Diffstat (limited to 'numpy/random/tests/test_regression.py')
-rw-r--r--numpy/random/tests/test_regression.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/tests/test_regression.py b/numpy/random/tests/test_regression.py
index 9f7455fe5..1bba5d91d 100644
--- a/numpy/random/tests/test_regression.py
+++ b/numpy/random/tests/test_regression.py
@@ -72,7 +72,7 @@ class TestRegression(TestCase):
np.random.seed(i)
m.seed(4321)
# If m.state is not honored, the result will change
- assert_array_equal(m.choice(10, size=10, p=np.ones(10.)/10), res)
+ assert_array_equal(m.choice(10, size=10, p=np.ones(10)/10.), res)
def test_multivariate_normal_size_types(self):
# Test for multivariate_normal issue with 'size' argument.