From 1e146e7876ea3fa18725f20258195ceb241c1687 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 17 Oct 2002 22:13:28 +0000 Subject: Continue to work even though the test can be named test.test_regex these days. --- 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 dbc6ec3041..2e2c8f65a1 100644 --- a/Lib/test/test_regex.py +++ b/Lib/test/test_regex.py @@ -1,7 +1,7 @@ from test.test_support import verbose, sortdict import warnings warnings.filterwarnings("ignore", "the regex module is deprecated", - DeprecationWarning, r'test_regex$') + DeprecationWarning, __name__) import regex from regex_syntax import * -- cgit v1.2.1