diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2013-06-06 14:59:50 +0200 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2013-06-09 17:00:47 +0200 |
commit | a6a2c601c28687e8ff8b44f5319280b20a9c3f71 (patch) | |
tree | b6066041de856eaed70c440078073ca7e65502f4 /numpy/random/tests | |
parent | 0e9dccd0b8375a487b435411eb58f00d5d4a8bdc (diff) | |
download | numpy-a6a2c601c28687e8ff8b44f5319280b20a9c3f71.tar.gz |
STY: Style fixes for integer deprecation changes
Also minor changes in the documentation.
Diffstat (limited to 'numpy/random/tests')
-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 891345b6a..0edf580d2 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() |