[pypy-commit] pypy numpy-subarrays: Add a test for a missing feature of subarrays

rguillebert noreply at buildbot.pypy.org
Wed May 15 23:05:38 CEST 2013


Author: Romain Guillebert <romain.py at gmail.com>
Branch: numpy-subarrays
Changeset: r64206:00f1cab6e79e
Date: 2013-05-15 23:04 +0200
http://bitbucket.org/pypy/pypy/changeset/00f1cab6e79e/

Log:	Add a test for a missing feature of subarrays

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
@@ -2713,6 +2713,8 @@
         a[0]["x"][0] = 200
         assert a[0]["x"][0] == 200
 
+        assert len(list(a[0])) == 2
+
 
 class AppTestPyPy(BaseNumpyAppTest):
     def setup_class(cls):


More information about the pypy-commit mailing list