diff options
author | Guido van Rossum <guido@python.org> | 2001-05-15 02:14:44 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-05-15 02:14:44 (GMT) |
commit | 2e0a654f6edeb58bef3cccffa42c2a236117a88c (patch) | |
tree | e70191f495b8aae610804a78f8cf678fb9cf019c /Lib/test | |
parent | 9cba64318e81e6b1ae6fd9e9b9b134fbb9658d61 (diff) | |
download | cpython-2e0a654f6edeb58bef3cccffa42c2a236117a88c.zip cpython-2e0a654f6edeb58bef3cccffa42c2a236117a88c.tar.gz cpython-2e0a654f6edeb58bef3cccffa42c2a236117a88c.tar.bz2 |
Add warnings to the strop module, for to those functions that really
*are* obsolete; three variables and the maketrans() function are not
(yet) obsolete.
Add a compensating warnings.filterwarnings() call to test_strop.py.
Add this to the NEWS.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_strop.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_strop.py b/Lib/test/test_strop.py index 9130088..74a2bb6 100644 --- a/Lib/test/test_strop.py +++ b/Lib/test/test_strop.py @@ -1,4 +1,6 @@ from test_support import verbose +import warnings +warnings.filterwarnings("ignore", "", DeprecationWarning, __name__) import strop, sys def test(name, input, output, *args): |