diff options
author | gfyoung <gfyoung@mit.edu> | 2015-12-13 18:11:14 -0800 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2015-12-16 12:23:50 -0800 |
commit | 084952500f388caed570b0961194a5b76bd8b6be (patch) | |
tree | 9b129826d2db423649b1d80cefec9adf93ab0519 /numpy/random/tests/test_random.py | |
parent | 402e3d3498b680cd6522b4c1fa55902d2e5ed57f (diff) | |
download | numpy-084952500f388caed570b0961194a5b76bd8b6be.tar.gz |
MAINT: minor spelling and grammar corrections
Diffstat (limited to 'numpy/random/tests/test_random.py')
-rw-r--r-- | numpy/random/tests/test_random.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/random/tests/test_random.py b/numpy/random/tests/test_random.py index ab7f90d82..193844030 100644 --- a/numpy/random/tests/test_random.py +++ b/numpy/random/tests/test_random.py @@ -26,12 +26,12 @@ class TestSeed(TestCase): assert_equal(s.randint(1000), 265) def test_invalid_scalar(self): - # seed must be a unsigned 32 bit integers + # seed must be an unsigned 32 bit integer assert_raises(TypeError, np.random.RandomState, -0.5) assert_raises(ValueError, np.random.RandomState, -1) def test_invalid_array(self): - # seed must be a unsigned 32 bit integers + # seed must be an unsigned 32 bit integer assert_raises(TypeError, np.random.RandomState, [-0.5]) assert_raises(ValueError, np.random.RandomState, [-1]) assert_raises(ValueError, np.random.RandomState, [4294967296]) @@ -129,7 +129,7 @@ class TestSetState(TestCase): self.prng.negative_binomial(0.5, 0.5) class TestRandomDist(TestCase): - # Make sure the random distrobution return the correct value for a + # Make sure the random distribution returns the correct value for a # given seed def setUp(self): |