summaryrefslogtreecommitdiff
path: root/numpy/random/tests
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-09-29 16:44:20 +0300
committermattip <matti.picus@gmail.com>2019-10-11 15:08:46 +0300
commit7e597f54d07a05be9875bb1574de52250a12d179 (patch)
tree3d8e3c46625129730fdb6cc83bf74425a77359e9 /numpy/random/tests
parent6fd7ec969feb980aebd33a8df7bccd873ade74bb (diff)
downloadnumpy-7e597f54d07a05be9875bb1574de52250a12d179.tar.gz
API: make BitGenerators private
Diffstat (limited to 'numpy/random/tests')
-rw-r--r--numpy/random/tests/test_randomstate.py3
-rw-r--r--numpy/random/tests/test_randomstate_regression.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/numpy/random/tests/test_randomstate.py b/numpy/random/tests/test_randomstate.py
index a0edc5c23..5131f1839 100644
--- a/numpy/random/tests/test_randomstate.py
+++ b/numpy/random/tests/test_randomstate.py
@@ -11,7 +11,8 @@ from numpy.testing import (
suppress_warnings
)
-from numpy.random import MT19937, PCG64, mtrand as random
+from numpy.random import MT19937, PCG64
+from numpy import random
INT_FUNCS = {'binomial': (100.0, 0.6),
'geometric': (.5,),
diff --git a/numpy/random/tests/test_randomstate_regression.py b/numpy/random/tests/test_randomstate_regression.py
index edf32ea97..bdc2214b6 100644
--- a/numpy/random/tests/test_randomstate_regression.py
+++ b/numpy/random/tests/test_randomstate_regression.py
@@ -8,7 +8,7 @@ from numpy.testing import (
from numpy.compat import long
import numpy as np
-from numpy.random import mtrand as random
+from numpy import random
class TestRegression(object):