[Numpy-svn] r6023 - trunk/numpy/core/tests
numpy-svn at scipy.org
numpy-svn at scipy.org
Thu Nov 13 23:25:24 EST 2008
Author: charris
Date: 2008-11-13 22:25:19 -0600 (Thu, 13 Nov 2008)
New Revision: 6023
Modified:
trunk/numpy/core/tests/test_ufunc.py
Log:
Correct spelling errors.
Modified: trunk/numpy/core/tests/test_ufunc.py
===================================================================
--- trunk/numpy/core/tests/test_ufunc.py 2008-11-13 04:55:06 UTC (rev 6022)
+++ trunk/numpy/core/tests/test_ufunc.py 2008-11-14 04:25:19 UTC (rev 6023)
@@ -123,22 +123,22 @@
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)) :
More information about the Numpy-svn
mailing list