Commits

mattip committed 145dac3

add failing test - array() in interp_numarray does not handle str properly yet

Comments (0)

Files changed (1)

pypy/module/micronumpy/test/test_numarray.py

         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):