[pypy-commit] pypy default: uncomment one passing test, add a commented failing one
mattip
noreply at buildbot.pypy.org
Fri Aug 2 07:53:09 CEST 2013
Author: Matti Picus <matti.picus at gmail.com>
Branch:
Changeset: r65891:3530f88a209f
Date: 2013-08-02 08:52 +0300
http://bitbucket.org/pypy/pypy/changeset/3530f88a209f/
Log: uncomment one passing test, add a commented failing one
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
@@ -2758,6 +2758,10 @@
b = array(['abcdefg', 'ab', 'cd'])
assert a[2] == b[1]
assert bool(a[1])
+ c = array(['ab','cdefg','hi','jk'])
+ # not implemented yet
+ #c[0] += c[3]
+ #assert c[0] == 'abjk'
def test_to_str(self):
from numpypy import array
@@ -2775,8 +2779,7 @@
assert str(a.dtype) == '|S1'
a = array('x', dtype='c')
assert str(a.dtype) == '|S1'
- # XXX can sort flexible types, why not comparison?
- #assert a == 'x'
+ assert a == 'x'
def test_flexible_repr(self):
from numpypy import array
More information about the pypy-commit
mailing list