[Numpy-discussion] numpy.test() failures in 2.0.0.dev8233

Pauli Virtanen pav@iki...
Sun Feb 21 05:22:41 CST 2010


Hi,

Please remind me what platform you are running on. Also, please update
and re-run the tests, and check the output from

import numpy as np
from numpy.core.multiarray import memorysimpleview as memoryview

dt = [('a', np.int8), ('b', np.int16),
      ('c', np.int32), ('d', np.int64),
      ('e', np.uint8), ('f', np.uint16),
      ('g', np.uint32), ('h', np.uint64),
      ('i', np.float), ('j', np.double),
      ('k', np.longdouble), ('l', 'S4'),
      ('m', 'U4'), ('n', 'V3'), ('o', '?')]
x = np.array([(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
             'aaaa', 'bbbb', '   ', True)], dtype=dt)
print memoryview(x).format

x = np.array([1,2,3], dtype='>i4')
print memoryview(x).format

x = np.array(([[1,2],[3,4]],), dtype=[('a', (int, (2,2)))])
print memoryview(x).format
print memoryview(x).itemsize





More information about the NumPy-Discussion mailing list