summaryrefslogtreecommitdiff
path: root/numpy/random/tests
diff options
context:
space:
mode:
authorRobert Kern <robert.kern@gmail.com>2019-06-29 21:56:10 -0700
committerRobert Kern <robert.kern@gmail.com>2019-06-29 21:56:10 -0700
commitdec19867f0f9dde76160fccd63d8abfbb2f5dfe1 (patch)
tree9c36b1995594d5f903d4ec7b7eacc0dfbc3b7a47 /numpy/random/tests
parent6658517495076c25f581c7093c39ad444f458b6f (diff)
downloadnumpy-dec19867f0f9dde76160fccd63d8abfbb2f5dfe1.tar.gz
ENH: Rename tests for default_rng
Diffstat (limited to 'numpy/random/tests')
-rw-r--r--numpy/random/tests/test_direct.py2
-rw-r--r--numpy/random/tests/test_smoke.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/random/tests/test_direct.py b/numpy/random/tests/test_direct.py
index 16b403812..0f57c4bd4 100644
--- a/numpy/random/tests/test_direct.py
+++ b/numpy/random/tests/test_direct.py
@@ -403,7 +403,7 @@ class TestSFC64(Base):
cls.invalid_init_values = [(-1,)]
-class TestDefaultGen(object):
+class TestDefaultRNG(object):
def test_seed(self):
for args in [(), (None,), (1234,), ([1234, 5678],)]:
rg = default_rng(*args)
diff --git a/numpy/random/tests/test_smoke.py b/numpy/random/tests/test_smoke.py
index e25799a28..84d261e5e 100644
--- a/numpy/random/tests/test_smoke.py
+++ b/numpy/random/tests/test_smoke.py
@@ -776,7 +776,7 @@ class TestPCG64(RNG):
cls._extra_setup()
-class TestDefaultGen(RNG):
+class TestDefaultRNG(RNG):
@classmethod
def setup_class(cls):
# This will duplicate some tests that directly instantiate a fresh