summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_regression.py
diff options
context:
space:
mode:
authorSkipper Seabold <jsseabold@gmail.com>2011-06-02 12:44:44 -0400
committerCharles Harris <charlesr.harris@gmail.com>2012-03-04 13:25:55 -0700
commit40f0844846a9d7665616b142407a3d74cb65a040 (patch)
treede3c25ba0dffeac73120e7b0fb07534382e2c03e /numpy/lib/tests/test_regression.py
parent0b400cbe4bc80139d0fe88a327d4f7c3b75ecc0f (diff)
downloadnumpy-40f0844846a9d7665616b142407a3d74cb65a040.tar.gz
ENH: Allow bincount to accept empty arrays.
Diffstat (limited to 'numpy/lib/tests/test_regression.py')
-rw-r--r--numpy/lib/tests/test_regression.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/numpy/lib/tests/test_regression.py b/numpy/lib/tests/test_regression.py
index c244aea87..71400d112 100644
--- a/numpy/lib/tests/test_regression.py
+++ b/numpy/lib/tests/test_regression.py
@@ -169,10 +169,6 @@ class TestRegression(TestCase):
sys.stdout.close()
sys.stdout = oldstdout
- def test_bincount_empty(self):
- """Ticket #1387: empty array as input for bincount."""
- assert_raises(ValueError, lambda : np.bincount(np.array([], dtype=np.intp)))
-
def test_include_dirs(self):
"""As a sanity check, just test that get_include and
get_numarray_include include something reasonable. Somewhat