Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1e146e7

Browse files
committed
Continue to work even though the test can be named test.test_regex
these days.
1 parent 7633d23 commit 1e146e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_regex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from test.test_support import verbose, sortdict
22
import warnings
33
warnings.filterwarnings("ignore", "the regex module is deprecated",
4-
DeprecationWarning, r'test_regex$')
4+
DeprecationWarning, __name__)
55
import regex
66
from regex_syntax import *
77

0 commit comments

Comments
 (0)