summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-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 b925a66..a324821 100644
--- a/Lib/test/test_regex.py
+++ b/Lib/test/test_regex.py
@@ -1,7 +1,7 @@
from test_support import verbose
import warnings
warnings.filterwarnings("ignore", "the regex module is deprecated",
- DeprecationWarning, "test_regex")
+ DeprecationWarning, __name__)
import regex
from regex_syntax import *