summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorMark Wiebe <mwiebe@enthought.com>2011-07-28 17:12:10 -0500
committerCharles Harris <charlesr.harris@gmail.com>2011-08-27 07:26:48 -0600
commitf82acc7c403d0353eff09c2a569c689a4244c001 (patch)
treebc87e5bc9821552f37cdb257445725883993d5de /numpy/core/numeric.py
parenta6e869b70b09df9381d341ed0d2b18f88d8fe3d6 (diff)
downloadnumpy-f82acc7c403d0353eff09c2a569c689a4244c001.tar.gz
TST: core: Regression test of boolean indexing was invalid, fixed it
The test made sure you couldn't assign a scalar to an empty array, something which is perfectly fine generally in NumPy. I've changed the test to make sure you can't assign off-size arrays with boolean indexing.
Diffstat (limited to 'numpy/core/numeric.py')
0 files changed, 0 insertions, 0 deletions