[pypy-commit] pypy numpy-unify-methods: fix list of non-callable ufuncs for complex
mattip
noreply at buildbot.pypy.org
Thu Feb 21 22:52:57 CET 2013
Author: mattip <matti.picus at gmail.com>
Branch: numpy-unify-methods
Changeset: r61568:2c821fe56f19
Date: 2013-02-21 23:52 +0200
http://bitbucket.org/pypy/pypy/changeset/2c821fe56f19/
Log: fix list of non-callable ufuncs for complex
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
@@ -111,11 +111,11 @@
assert len(uncallable) == 2 and set(uncallable) == set(['bitwise_not', 'invert'])
a = np.array(1.0,'complex')
uncallable = find_uncallable_ufuncs(a)
- assert len(uncallable) == 14
+ assert len(uncallable) == 13
assert set(uncallable) == \
set(['bitwise_not', 'ceil', 'deg2rad', 'degrees', 'fabs', 'floor',
- 'rad2deg', 'invert', 'spacing', 'radians', 'frexp', 'signbit',
- 'modf', 'trunc'])
+ 'rad2deg', 'invert', 'isneginf', 'isposinf', 'radians', 'signbit',
+ 'trunc'])
def test_int_only(self):
from _numpypy import bitwise_and, array
More information about the pypy-commit
mailing list