Commit 582eb92d authored by Mark Florisson's avatar Mark Florisson

Disable some packed struct buffer format tests

parent f766a7fc
......@@ -211,10 +211,13 @@ try:
"""
if np.__version__ >= '1.6':
if np.__version__ >= '1.6' and False:
__doc__ += u"""
The following expose bugs in Numpy (versions prior to 2011-04-02):
Tests are DISABLED as the buffer format parser does not align members
of aligned structs in padded structs in relation to the possibly
unaligned initial offset.
The following expose bugs in Numpy (versions prior to 2011-04-02):
>>> print(test_partially_packed_align(np.zeros((1,), dtype=np.dtype([('a', 'b'), ('b', 'i'), ('sub', np.dtype('b,i')), ('c', 'i')], align=True))))
array([(22, 23, (24, 25), 26)],
dtype=[('a', '|i1'), ('', '|V3'), ('b', '!i4'), ('sub', [('f0', '|i1'), ('f1', '!i4')]), ('', '|V3'), ('c', '!i4')])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment