Author: Alex Gaynor <[email protected]>
Branch: numpy-multidim
Changeset: r49734:1b5ac648b2de
Date: 2011-11-24 09:09 -0600
http://bitbucket.org/pypy/pypy/changeset/1b5ac648b2de/
Log: better comment
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
@@ -978,7 +978,7 @@
a = array((range(5), range(5, 10)), dtype="int16")
b = a[1, 2:]
assert repr(b) == "array([7, 8, 9], dtype=int16)"
- #This is the way cpython numpy does it - an empty slice prints its
shape
+ # an empty slice prints its shape
b = a[2:1, ]
assert repr(b) == "array([], shape=(0, 5), dtype=int16)"
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit