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.
This commit is contained in:
Guido van Rossum 2001-05-15 02:14:44 +00:00
parent 9cba64318e
commit 2e0a654f6e
3 changed files with 28 additions and 0 deletions

View file

@ -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):