summaryrefslogtreecommitdiff
path: root/numpy/random/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/random/__init__.py')
-rw-r--r--numpy/random/__init__.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/numpy/random/__init__.py b/numpy/random/__init__.py
index ade912839..2e83e419d 100644
--- a/numpy/random/__init__.py
+++ b/numpy/random/__init__.py
@@ -173,13 +173,14 @@ from .xoshiro256 import Xoshiro256
from .xoshiro512 import Xoshiro512
from .mtrand import RandomState
-__all__ += ['Generator', 'DSFMT', 'MT19937', 'Philox','PCG64', 'PCG32',
- 'ThreeFry', 'Xoshiro256', 'Xoshiro512', 'RandomState']
+__all__ += ['Generator', 'DSFMT', 'MT19937', 'Philox', 'PCG64', 'PCG32',
+ 'ThreeFry', 'Xoshiro256', 'Xoshiro512', 'RandomState']
# Some aliases:
ranf = random = sample = random_sample
__all__.extend(['ranf', 'random', 'sample'])
+
def __RandomState_ctor():
"""Return a RandomState instance.
@@ -195,6 +196,7 @@ def __RandomState_ctor():
"""
return RandomState(seed=0)
+
from numpy._pytesttester import PytestTester
test = PytestTester(__name__)
del PytestTester