diff options
author | dhuard <dhuard@localhost> | 2008-11-12 20:42:53 +0000 |
---|---|---|
committer | dhuard <dhuard@localhost> | 2008-11-12 20:42:53 +0000 |
commit | 08ad9d1c06865c86684f52fc4c6cf1bf527f1181 (patch) | |
tree | db5e2187322a5628595f7807e4a1563206840d9c /numpy/lib/tests/test_function_base.py | |
parent | 3f265ff72fad3ada8e7e67a28227fb84e4c0e6d8 (diff) | |
download | numpy-08ad9d1c06865c86684f52fc4c6cf1bf527f1181.tar.gz |
Follow up on changes to histogram: new=False now raises a DeprecationWarning, new=True warns users that `new` will disappear in 1.4.
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r-- | numpy/lib/tests/test_function_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py index 8f80920cd..ca8104b53 100644 --- a/numpy/lib/tests/test_function_base.py +++ b/numpy/lib/tests/test_function_base.py @@ -439,7 +439,7 @@ class TestSinc(TestCase): class TestHistogram(TestCase): def setUp(self): - warnings.simplefilter('ignore', Warning) + warnings.simplefilter('ignore', DeprecationWarning) def tearDown(self): warnings.resetwarnings() |