summaryrefslogtreecommitdiff
path: root/numpy/f2py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2021-09-21 15:54:11 -0700
committerGitHub <noreply@github.com>2021-09-21 15:54:11 -0700
commit66d33faabf1f19d4b192c38e927dfa727b0ed61f (patch)
treef657cee2e071c1394f993abf9f1b3a18504414c6 /numpy/f2py
parenta838abe68ce6bf8164c31cc35a2ac8d5485754ec (diff)
parent83960267dc097742cb67ef575504afa56f82b102 (diff)
downloadnumpy-66d33faabf1f19d4b192c38e927dfa727b0ed61f.tar.gz
Merge pull request #19911 from DimitriPapadopoulos/codespell
DOC: Typos found by codespell
Diffstat (limited to 'numpy/f2py')
-rw-r--r--numpy/f2py/cfuncs.py2
-rw-r--r--numpy/f2py/tests/test_return_character.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/numpy/f2py/cfuncs.py b/numpy/f2py/cfuncs.py
index 8f42b4029..fb1688744 100644
--- a/numpy/f2py/cfuncs.py
+++ b/numpy/f2py/cfuncs.py
@@ -487,7 +487,7 @@ STRINGPADN replaces null values with padding values from the right.
`to` must have size of at least N bytes.
If the `to[N-1]` has null value, then replace it and all the
-preceeding nulls with the given padding.
+preceding, nulls with the given padding.
STRINGPADN(to, N, PADDING, NULLVALUE) is an inverse operation.
*/
diff --git a/numpy/f2py/tests/test_return_character.py b/numpy/f2py/tests/test_return_character.py
index 7d4ced914..2c999ed0b 100644
--- a/numpy/f2py/tests/test_return_character.py
+++ b/numpy/f2py/tests/test_return_character.py
@@ -80,7 +80,7 @@ cf2py intent(out) ts
end
"""
- @pytest.mark.xfail(IS_S390X, reason="calback returns ' '")
+ @pytest.mark.xfail(IS_S390X, reason="callback returns ' '")
@pytest.mark.parametrize('name', 't0,t1,t5,s0,s1,s5,ss'.split(','))
def test_all(self, name):
self.check_function(getattr(self.module, name), name)
@@ -139,7 +139,7 @@ module f90_return_char
end module f90_return_char
"""
- @pytest.mark.xfail(IS_S390X, reason="calback returns ' '")
+ @pytest.mark.xfail(IS_S390X, reason="callback returns ' '")
@pytest.mark.parametrize('name', 't0,t1,t5,ts,s0,s1,s5,ss'.split(','))
def test_all(self, name):
self.check_function(getattr(self.module.f90_return_char, name), name)