Author: Matti Picus <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to