summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_strop.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-04-16 01:27:44 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-04-16 01:27:44 (GMT)
commitd392506c43a48d570a09a15e7f1889873fe17d6c (patch)
tree83ceeade55a3a7b201f7bcafe3a0804b85ad3c3c /Lib/test/test_strop.py
parent50ac30ee0190ea2dd4ede87d63d6ebba23bd3a11 (diff)
downloadcpython-d392506c43a48d570a09a15e7f1889873fe17d6c.zip
cpython-d392506c43a48d570a09a15e7f1889873fe17d6c.tar.gz
cpython-d392506c43a48d570a09a15e7f1889873fe17d6c.tar.bz2
Tighten up some warning filters, and break some dependencies on the
order in which the tests are normally run.
Diffstat (limited to 'Lib/test/test_strop.py')
-rw-r--r--Lib/test/test_strop.py5
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