Author: mattip <[email protected]>
Branch: str-dtype-improvement
Changeset: r62349:37b3032c46fa
Date: 2013-03-14 13:05 -0700
http://bitbucket.org/pypy/pypy/changeset/37b3032c46fa/

Log:    add failing test

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
@@ -1480,6 +1480,8 @@
         a = (a + a)[::2]
         b = concatenate((a[:3], a[-3:]))
         assert (b == [2, 6, 10, 2, 6, 10]).all()
+        a = concatenate((array([1]), array(['abc'])))
+        assert a.dtype == 'S3'
         a = concatenate((array([]), array(['abc'])))
         assert a[0] == 'abc'
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to