Author: Romain Guillebert <[email protected]>
Branch: numpy-subarrays
Changeset: r64162:3cb776037bac
Date: 2013-05-15 16:00 +0200
http://bitbucket.org/pypy/pypy/changeset/3cb776037bac/
Log: Add a test case
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
@@ -2710,6 +2710,9 @@
assert (a[1]["x"] == [4, 5, 6]).all()
assert (a[1]["y"] == [5.5, 6.5, 7.5, 8.5, 9.5]).all()
+ a[0]["x"][0] = 200
+ assert a[0]["x"][0] == 200
+
class AppTestPyPy(BaseNumpyAppTest):
def setup_class(cls):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit