diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-12-17 10:11:26 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-12-17 10:11:26 -0700 |
commit | e680923e9adb80b179d5b315f41d26b68767f81e (patch) | |
tree | d5d516eec905e7683fdfe75d55e7ded1564ee78c /numpy/random/tests/test_random.py | |
parent | 2befd8d7decee62233ace32297806aac363868df (diff) | |
parent | 084952500f388caed570b0961194a5b76bd8b6be (diff) | |
download | numpy-e680923e9adb80b179d5b315f41d26b68767f81e.tar.gz |
Merge pull request #6831 from gfyoung/spelling_corrections
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): |