mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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:
parent
9cba64318e
commit
2e0a654f6e
3 changed files with 28 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue