diff options
author | Fred Drake <fdrake@acm.org> | 2002-10-17 22:13:28 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-10-17 22:13:28 (GMT) |
commit | 1e146e7876ea3fa18725f20258195ceb241c1687 (patch) | |
tree | c9f9e0170518d342b74cc3980ff5c3aa4351dc1a /Lib | |
parent | 7633d2393f8b0b8a6b3480799dc35cfc954069a6 (diff) | |
download | cpython-1e146e7876ea3fa18725f20258195ceb241c1687.zip cpython-1e146e7876ea3fa18725f20258195ceb241c1687.tar.gz cpython-1e146e7876ea3fa18725f20258195ceb241c1687.tar.bz2 |
Continue to work even though the test can be named test.test_regex
these days.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_regex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_regex.py b/Lib/test/test_regex.py index dbc6ec3..2e2c8f65 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 * |