summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_shape_base.py
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2018-05-01 04:28:18 +0000
committerEric Wieser <wieser.eric@gmail.com>2018-04-30 21:28:18 -0700
commit820765d762513510a8e46f108e8bc8b366127f8f (patch)
treee03571b42ed4cf2c929c64ca2ba9803e26839b65 /numpy/lib/tests/test_shape_base.py
parent4cfba64b4abcd0875fe68618c2a18d37cd173eec (diff)
downloadnumpy-820765d762513510a8e46f108e8bc8b366127f8f.tar.gz
MAINT: Misc. typos (#11005)
User- and non-user-facing typos. Some source typos fixes as well. Found via `codespell`.
Diffstat (limited to 'numpy/lib/tests/test_shape_base.py')
-rw-r--r--numpy/lib/tests/test_shape_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/tests/test_shape_base.py b/numpy/lib/tests/test_shape_base.py
index 080fd066d..0e86fbb19 100644
--- a/numpy/lib/tests/test_shape_base.py
+++ b/numpy/lib/tests/test_shape_base.py
@@ -79,7 +79,7 @@ class TestApplyAlongAxis(object):
def test_axis_insertion(self, cls=np.ndarray):
def f1to2(x):
- """produces an assymmetric non-square matrix from x"""
+ """produces an asymmetric non-square matrix from x"""
assert_equal(x.ndim, 1)
return (x[::-1] * x[1:,None]).view(cls)
@@ -123,7 +123,7 @@ class TestApplyAlongAxis(object):
def test_axis_insertion_ma(self):
def f1to2(x):
- """produces an assymmetric non-square matrix from x"""
+ """produces an asymmetric non-square matrix from x"""
assert_equal(x.ndim, 1)
res = x[::-1] * x[1:,None]
return np.ma.masked_where(res%5==0, res)