diff options
author | mattip <matti.picus@gmail.com> | 2019-09-29 16:44:20 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-10-11 15:08:46 +0300 |
commit | 7e597f54d07a05be9875bb1574de52250a12d179 (patch) | |
tree | 3d8e3c46625129730fdb6cc83bf74425a77359e9 /numpy/random/tests | |
parent | 6fd7ec969feb980aebd33a8df7bccd873ade74bb (diff) | |
download | numpy-7e597f54d07a05be9875bb1574de52250a12d179.tar.gz |
API: make BitGenerators private
Diffstat (limited to 'numpy/random/tests')
-rw-r--r-- | numpy/random/tests/test_randomstate.py | 3 | ||||
-rw-r--r-- | numpy/random/tests/test_randomstate_regression.py | 2 |
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): |