Author: mattip <[email protected]>
Branch:
Changeset: r60941:9fb80985bb20
Date: 2013-02-07 17:50 +0200
http://bitbucket.org/pypy/pypy/changeset/9fb80985bb20/
Log: a failing test of tostring on scalar
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
@@ -2374,6 +2374,7 @@
assert array([1, 2, 3], 'i2')[::2].tostring() == '\x01\x00\x03\x00'
assert array([1, 2, 3], '<i2')[::2].tostring() == '\x01\x00\x03\x00'
assert array([1, 2, 3], '>i2')[::2].tostring() == '\x00\x01\x00\x03'
+ assert array(0, dtype='i2').tostring() == '\x00\x00'
def test_argsort_dtypes(self):
from _numpypy import array, arange
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit