From 8e8a4ca90319e28d21c6ba32d7249c47ad014025 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Thu, 5 Apr 2012 09:27:13 -0600 Subject: BUG: Fix missing np prefix in test_function_base.py. --- numpy/lib/tests/test_function_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/lib/tests') diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py index d3d3de5e8..7245b8962 100644 --- a/numpy/lib/tests/test_function_base.py +++ b/numpy/lib/tests/test_function_base.py @@ -450,7 +450,7 @@ class TestDigitize(TestCase): def test_right_open_random(self): x = rand(10) bins = np.linspace(x.min(), x.max(), 10) - assert_(all(digitize(x, bins, True) != 10)) + assert_(np.all(digitize(x, bins, True) != 10)) class TestUnwrap(TestCase): -- cgit v1.2.1