Author: mattip <[email protected]>
Branch: numpypy-problems
Changeset: r57687:145dac350a19
Date: 2012-09-30 10:58 +0200
http://bitbucket.org/pypy/pypy/changeset/145dac350a19/
Log: add failing test - array() in interp_numarray does not handle str
properly yet
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
@@ -2249,6 +2249,10 @@
a = array(['abc'],'S3')
assert repr(a) == "array(['abc'])"
assert str(a.dtype) == '|S3'
+ a = array(['abc'])
+ assert repr(a) == "array(['abc'])"
+ assert str(a.dtype) == '|S3'
+
class AppTestPyPy(BaseNumpyAppTest):
def setup_class(cls):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit