diff options
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r-- | numpy/lib/tests/test_function_base.py | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py index 178237c33..b31453292 100644 --- a/numpy/lib/tests/test_function_base.py +++ b/numpy/lib/tests/test_function_base.py @@ -444,21 +444,10 @@ class TestSinc(TestCase): class TestHistogram(TestCase): def setUp(self): - warnings.simplefilter('ignore', DeprecationWarning) + pass def tearDown(self): - warnings.resetwarnings() - - def test_simple_old(self): - n=100 - v=rand(n) - (a,b)=histogram(v, new=False) - #check if the sum of the bins equals the number of samples - assert_equal(sum(a,axis=0), n) - #check that the bin counts are evenly spaced when the data is from a - # linear function - (a,b)=histogram(linspace(0,10,100), new=False) - assert_array_equal(a, 10) + pass def test_simple(self): n=100 |