diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2008-04-22 03:50:35 +0000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2008-04-22 03:50:35 +0000 |
commit | 487612c85b7d23c81798e1cf71d39ac223204fd4 (patch) | |
tree | 4a068115ee9e12e83202c22ae211f44654cc00f9 /numpy/core | |
parent | 772b0dab26370a36c3774049ad50315fc953c07a (diff) | |
download | numpy-487612c85b7d23c81798e1cf71d39ac223204fd4.tar.gz |
Uncomment tests for PyUfunc_O_O_method and PyUFunc_OO_O_method.
Diffstat (limited to 'numpy/core')
-rw-r--r-- | numpy/core/tests/test_ufunc.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/numpy/core/tests/test_ufunc.py b/numpy/core/tests/test_ufunc.py index d9e095540..4f2bc7c92 100644 --- a/numpy/core/tests/test_ufunc.py +++ b/numpy/core/tests/test_ufunc.py @@ -52,6 +52,14 @@ class TestUfunc(NumpyTestCase): just looked at the signatures registered in the build directory to find relevant functions. + Fixme, currently untested: + + PyUFunc_ff_f_As_dd_d + PyUFunc_FF_F_As_DD_D + PyUFunc_f_f_As_d_d + PyUFunc_F_F_As_D_D + PyUFunc_On_Om + """ fone = np.exp ftwo = lambda x,y : x**y @@ -123,7 +131,7 @@ class TestUfunc(NumpyTestCase): 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 + assert np.all(np.logical_not(x) == True), msg # check binary PyUFunc_OO_0 msg = "PyUFunc_OO_O" @@ -134,7 +142,7 @@ class TestUfunc(NumpyTestCase): x = np.zeros(10, dtype=np.object)[0::2] for i in range(len(x)) : x[i] = foo() - #assert np.all(np.logical_and(x,x) == 1), msg + assert np.all(np.logical_and(x,x) == 1), msg # check PyUFunc_On_Om # fixme -- I don't know how to do this yet |