[pypy-commit] pypy ufunc-casting: implement casting in ufuncs

mattip noreply at buildbot.pypy.org
Tue Oct 13 17:12:04 CEST 2015


Author: mattip <matti.picus at gmail.com>
Branch: ufunc-casting
Changeset: r80161:d84d28ec19ea
Date: 2015-10-11 22:36 +0300
http://bitbucket.org/pypy/pypy/changeset/d84d28ec19ea/

Log:	implement casting in ufuncs

diff --git a/pypy/module/micronumpy/test/test_ufuncs.py b/pypy/module/micronumpy/test/test_ufuncs.py
--- a/pypy/module/micronumpy/test/test_ufuncs.py
+++ b/pypy/module/micronumpy/test/test_ufuncs.py
@@ -159,7 +159,6 @@
         af2 = ufunc(af)
         assert all(af2 == af * 2)
         ac = arange(10, dtype=complex)
-        skip('casting not implemented yet')
         ac1 = ufunc(ac)
 
     def test_frompyfunc_2d_sig(self):
@@ -1393,7 +1392,7 @@
     def test_add_doc(self):
         import sys
         if '__pypy__' not in sys.builtin_module_names:
-            skip('')
+            skip('cpython sets docstrings differently')
         try:
             from numpy import set_docstring
         except ImportError:


More information about the pypy-commit mailing list