diff options
| author | Jarrod Millman <millman@berkeley.edu> | 2007-12-29 02:21:56 +0000 |
|---|---|---|
| committer | Jarrod Millman <millman@berkeley.edu> | 2007-12-29 02:21:56 +0000 |
| commit | 72297ed57ac666c6ef50d5c88ef486a94f7fc080 (patch) | |
| tree | 9ee064e4147d76e2b154e35103a7f46a6b3081c6 /numpy/random/tests | |
| parent | 423b1953b1742a2b71cc766ff08a919707f19e1c (diff) | |
| download | numpy-72297ed57ac666c6ef50d5c88ef486a94f7fc080.tar.gz | |
more janitorial work
Diffstat (limited to 'numpy/random/tests')
| -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 633f6840f..898534742 100644 --- a/numpy/random/tests/test_random.py +++ b/numpy/random/tests/test_random.py @@ -1,6 +1,6 @@ from numpy.testing import * from numpy import random -import numpy as N +import numpy as np class TestMultinomial(NumpyTestCase): def test_basic(self): @@ -12,8 +12,8 @@ class TestMultinomial(NumpyTestCase): def test_int_negative_interval(self): assert -5 <= random.randint(-5,-1) < -1 x = random.randint(-5,-1,5) - assert N.all(-5 <= x) - assert N.all(x < -1) + assert np.all(-5 <= x) + assert np.all(x < -1) if __name__ == "__main__": NumpyTest().run() |
