[pypy-commit] pypy missing-ndarray-attributes: float16 fails argsort
mattip
noreply at buildbot.pypy.org
Mon Feb 4 01:10:06 CET 2013
Author: Matti Picus <matti.picus at gmail.com>
Branch: missing-ndarray-attributes
Changeset: r60849:41f4d672d338
Date: 2013-02-03 23:09 +0200
http://bitbucket.org/pypy/pypy/changeset/41f4d672d338/
Log: float16 fails argsort
diff --git a/pypy/module/micronumpy/test/test_numarray.py b/pypy/module/micronumpy/test/test_numarray.py
--- a/pypy/module/micronumpy/test/test_numarray.py
+++ b/pypy/module/micronumpy/test/test_numarray.py
@@ -2373,7 +2373,7 @@
from _numpypy import array, arange
assert array(2.0).argsort() == 0
nnp = self.non_native_prefix
- for dtype in ['int', 'float', 'int16', 'float32',
+ for dtype in ['int', 'float', 'int16', 'float32', 'float16',
nnp + 'i2', complex]:
a = array([6, 4, -1, 3, 8, 3, 256+20, 100, 101], dtype=dtype)
c = a.copy()
More information about the pypy-commit
mailing list