summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2008-11-14 04:25:19 +0000
committerCharles Harris <charlesr.harris@gmail.com>2008-11-14 04:25:19 +0000
commit3f438922a1cf780f6461645ca96907f98c8c15e8 (patch)
treef15dc01aca46f2e5064244794457bb3314b6e356 /numpy/core
parent1684edfa39233a05fcf1ab0ec8b0e4dcda3d113d (diff)
downloadnumpy-3f438922a1cf780f6461645ca96907f98c8c15e8.tar.gz
Correct spelling errors.
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/tests/test_ufunc.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/tests/test_ufunc.py b/numpy/core/tests/test_ufunc.py
index 7d56c1de3..54dbbe16c 100644
--- a/numpy/core/tests/test_ufunc.py
+++ b/numpy/core/tests/test_ufunc.py
@@ -123,22 +123,22 @@ class TestUfunc(TestCase):
def logical_and(self, obj) :
return np.bool_(1)
- # check unary PyUFunc_O_0
+ # check unary PyUFunc_O_O
msg = "PyUFunc_O_O"
x = np.ones(10, dtype=np.object)[0::2]
assert np.all(np.abs(x) == 1), msg
- # check unary PyUFunc_O_0_method
+ # check unary PyUFunc_O_O_method
msg = "PyUFunc_O_O_method"
x = np.zeros(10, dtype=np.object)[0::2]
for i in range(len(x)) :
x[i] = foo()
assert np.all(np.logical_not(x) == True), msg
- # check binary PyUFunc_OO_0
+ # check binary PyUFunc_OO_O
msg = "PyUFunc_OO_O"
x = np.ones(10, dtype=np.object)[0::2]
assert np.all(np.add(x,x) == 2), msg
- # check binary PyUFunc_OO_0_method
+ # check binary PyUFunc_OO_O_method
msg = "PyUFunc_OO_O_method"
x = np.zeros(10, dtype=np.object)[0::2]
for i in range(len(x)) :