summaryrefslogtreecommitdiff
path: root/numpy/random/tests
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/random/tests')
-rw-r--r--numpy/random/tests/test_random.py6
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()