From d392506c43a48d570a09a15e7f1889873fe17d6c Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Tue, 16 Apr 2002 01:27:44 +0000 Subject: Tighten up some warning filters, and break some dependencies on the order in which the tests are normally run. --- Lib/test/test_regex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_regex.py') diff --git a/Lib/test/test_regex.py b/Lib/test/test_regex.py index b6260d264e..0fe82b7f1d 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 * -- cgit v1.2.1