diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-09-23 21:19:23 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-09-23 21:24:16 +0200 |
commit | 8bf9a18f68a36f81bbd27ce52af65ca3cfd217fd (patch) | |
tree | 871086e88c8ac7670ff1606c3b028bd3845d2c0f /numpy/lib/tests/test_packbits.py | |
parent | 7be6655c34c2e25232964079818fffe0d7d03696 (diff) | |
download | numpy-8bf9a18f68a36f81bbd27ce52af65ca3cfd217fd.tar.gz |
BUG: check if object provides len() before trying to iterate it
some libraries want object arrays from objects that are iterable but
rely on not providing len() to get the right dtype from numpy.
closes gh-5100
Diffstat (limited to 'numpy/lib/tests/test_packbits.py')
0 files changed, 0 insertions, 0 deletions