summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_regex.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_regex.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_regex.py')
-rw-r--r--Lib/test/test_regex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_regex.py b/Lib/test/test_regex.py
index b6260d2..0fe82b7 100644
--- a/Lib/test/test_regex.py
+++ b/Lib/test/test_regex.py
@@ -1,7 +1,7 @@
from test_support import verbose, sortdict
import warnings
warnings.filterwarnings("ignore", "the regex module is deprecated",
- DeprecationWarning, __name__)
+ DeprecationWarning, r'test_regex$')
import regex
from regex_syntax import *