diff options
author | mattip <matti.picus@gmail.com> | 2019-04-30 06:47:29 -0400 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-04-30 06:59:09 -0400 |
commit | 666d92ac85a6adf0fec7361c3340fc6ab12c8330 (patch) | |
tree | a10461ceaf1b839c9383c69bcd800d2569c3058d /numpy/lib/tests/test_format.py | |
parent | c23bd98de665733dd090636f38b6aacf9f99450b (diff) | |
download | numpy-666d92ac85a6adf0fec7361c3340fc6ab12c8330.tar.gz |
BUG: handle subarrays in descr_to_dtype
Diffstat (limited to 'numpy/lib/tests/test_format.py')
-rw-r--r-- | numpy/lib/tests/test_format.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/lib/tests/test_format.py b/numpy/lib/tests/test_format.py index 2ebd483d5..9d12fafc0 100644 --- a/numpy/lib/tests/test_format.py +++ b/numpy/lib/tests/test_format.py @@ -411,6 +411,7 @@ record_arrays = [ np.array(NbufferT, dtype=np.dtype(Ndescr).newbyteorder('<')), np.array(PbufferT, dtype=np.dtype(Pdescr).newbyteorder('>')), np.array(NbufferT, dtype=np.dtype(Ndescr).newbyteorder('>')), + np.zeros(1, dtype=[('c', ('<f8', (5,)), (2,))]) ] |