diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2013-04-13 09:41:22 +0200 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2013-05-31 19:16:02 +0200 |
commit | 5c8d5c263b93700ae92aff38bb9a8d05c0a185e6 (patch) | |
tree | 0f2aec8e1516213f81378d253b465d8aa6f1c04d /numpy/random/tests/test_regression.py | |
parent | 44a796154a4d349768c6e2244b39e8a69d2d1680 (diff) | |
download | numpy-5c8d5c263b93700ae92aff38bb9a8d05c0a185e6.tar.gz |
MAINT: adept divisions for truedivide
Following deprecations would cause problems otherwise.
Diffstat (limited to 'numpy/random/tests/test_regression.py')
-rw-r--r-- | numpy/random/tests/test_regression.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/tests/test_regression.py b/numpy/random/tests/test_regression.py index d2bbdbfb7..891345b6a 100644 --- a/numpy/random/tests/test_regression.py +++ b/numpy/random/tests/test_regression.py @@ -74,7 +74,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) if __name__ == "__main__": run_module_suite() |