summaryrefslogtreecommitdiff
path: root/numpy/random
diff options
context:
space:
mode:
authorKevin Sheppard <kevin.k.sheppard@gmail.com>2022-07-19 15:54:59 +0100
committerKevin Sheppard <kevin.k.sheppard@gmail.com>2022-07-19 15:54:59 +0100
commitadbb4cbc32350dd6581cb8f24e6f68cc0cfa8245 (patch)
tree785ae8da272ba61d22950f6e9054c44775e07899 /numpy/random
parent95e3e7f445407e4f355b23d6a9991d8774f0eb0c (diff)
downloadnumpy-adbb4cbc32350dd6581cb8f24e6f68cc0cfa8245.tar.gz
TST: Fix spelling
Diffstat (limited to 'numpy/random')
-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",)