diff options
author | luzpaz <luzpaz@users.noreply.github.com> | 2019-05-31 03:13:33 -0400 |
---|---|---|
committer | Matti Picus <matti.picus@gmail.com> | 2019-05-31 10:13:33 +0300 |
commit | 0c70787c04d7b0febacb14edfe214cb68d87b6c3 (patch) | |
tree | a518387f3e9134d753ac4d09009ab4764a8dd4b2 /numpy/testing/_private/utils.py | |
parent | 43465f725bc47a36f08c5e69a61c2702a97491b8 (diff) | |
download | numpy-0c70787c04d7b0febacb14edfe214cb68d87b6c3.tar.gz |
MAINT: Misc. typo fixes (#13664)
* DOC, MAINT: Misc. typo fixes
Found via `codespell`
Diffstat (limited to 'numpy/testing/_private/utils.py')
-rw-r--r-- | numpy/testing/_private/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/testing/_private/utils.py b/numpy/testing/_private/utils.py index 53181bc49..ead5d264d 100644 --- a/numpy/testing/_private/utils.py +++ b/numpy/testing/_private/utils.py @@ -708,7 +708,7 @@ def assert_array_compare(comparison, x, y, err_msg='', verbose=True, x = array(x, copy=False, subok=True) y = array(y, copy=False, subok=True) - # original array for output formating + # original array for output formatting ox, oy = x, y def isnumber(x): @@ -733,7 +733,7 @@ def assert_array_compare(comparison, x, y, err_msg='', verbose=True, # (2) __eq__ on some ndarray subclasses returns Python booleans # instead of element-wise comparisons, so we cast to bool_() and # use isinstance(..., bool) checks - # (3) subclasses with bare-bones __array_function__ implemenations may + # (3) subclasses with bare-bones __array_function__ implementations may # not implement np.all(), so favor using the .all() method # We are not committed to supporting such subclasses, but it's nice to # support them if possible. |