summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_recfunctions.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2018-02-16 22:39:29 -0800
committerEric Wieser <wieser.eric@gmail.com>2018-03-25 12:19:33 -0700
commit093c308fcc4249d8a0f1336827d8eb9ad1e7d274 (patch)
treeba3612fbbd3ea2890d2c8c231e244bf8928ba434 /numpy/lib/tests/test_recfunctions.py
parente2c71688e765a2c0eba4958891b0637754575f18 (diff)
downloadnumpy-093c308fcc4249d8a0f1336827d8eb9ad1e7d274.tar.gz
BUG: Always return a list from np.ma.flatnotmasked_contiguous
Depending on the input, this would return: * A single slice, if mask=nomask * A list of slices, if mask is an array * None, if mask is fully masked The documented return value is a list, and all downstream callers of this function end up having to correct for it not being one. This affects the result of np.ma.notmasked_contiguous, which also did not document these unusual return values.
Diffstat (limited to 'numpy/lib/tests/test_recfunctions.py')
0 files changed, 0 insertions, 0 deletions