summaryrefslogtreecommitdiff
path: root/numpy/random/tests
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/random/tests')
-rw-r--r--numpy/random/tests/test_generator_mt19937.py2
-rw-r--r--numpy/random/tests/test_randomstate.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/random/tests/test_generator_mt19937.py b/numpy/random/tests/test_generator_mt19937.py
index 0f4437bcb..1180cca5a 100644
--- a/numpy/random/tests/test_generator_mt19937.py
+++ b/numpy/random/tests/test_generator_mt19937.py
@@ -2700,7 +2700,7 @@ def test_contig_req_out(dist, order, dtype):
def test_generator_ctor_old_style_pickle():
rg = np.random.Generator(np.random.PCG64DXSM(0))
rg.standard_normal(1)
- # Directly call reduce which is used in pickline
+ # Directly call reduce which is used in pickling
ctor, args, state_a = rg.__reduce__()
# Simulate unpickling an old pickle that only has the name
assert args[:1] == ("PCG64DXSM",)
diff --git a/numpy/random/tests/test_randomstate.py b/numpy/random/tests/test_randomstate.py
index aadfe3d78..1e22880ea 100644
--- a/numpy/random/tests/test_randomstate.py
+++ b/numpy/random/tests/test_randomstate.py
@@ -2025,7 +2025,7 @@ def test_broadcast_size_error():
def test_randomstate_ctor_old_style_pickle():
rs = np.random.RandomState(MT19937(0))
rs.standard_normal(1)
- # Directly call reduce which is used in pickline
+ # Directly call reduce which is used in pickling
ctor, args, state_a = rs.__reduce__()
# Simulate unpickling an old pickle that only has the name
assert args[:1] == ("MT19937",)