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

Nils Wagner nwagner@iam.uni-stuttgart...
Sun Feb 21 05:37:26 CST 2010


On Sun, 21 Feb 2010 13:22:41 +0200
  Pauli Virtanen <pav@iki.fi> wrote:
> 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
> 
> 
> 

T{b:a:=h:b:=i:c:=l:d:B:e:=H:f:=I:g:=L:h:=d:i:=d:j:=g:k:4s:l:=4w:m:3x:n:?:o:}
>i
T{(2,2)=l:a:}
32
Linux-2.6.31.12-0.1-default-x86_64-with-SuSE-11.2-x86_64
2.0.0.dev8235

Nils


More information about the NumPy-Discussion mailing list