diff options
Diffstat (limited to 'Lib/test/test_strop.py')
-rw-r--r-- | Lib/test/test_strop.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_strop.py b/Lib/test/test_strop.py index e26f08f..1e3feba 100644 --- a/Lib/test/test_strop.py +++ b/Lib/test/test_strop.py @@ -1,6 +1,7 @@ import warnings -warnings.filterwarnings("ignore", "", DeprecationWarning, __name__) -warnings.filterwarnings("ignore", "", DeprecationWarning, "unittest") +warnings.filterwarnings("ignore", "strop functions are obsolete;", + DeprecationWarning, + r'test_strop|unittest') import strop import test_support import unittest |