summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_regex.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_regex.py b/Lib/test/test_regex.py
index 3bb78ef..b925a66 100644
--- a/Lib/test/test_regex.py
+++ b/Lib/test/test_regex.py
@@ -1,4 +1,7 @@
from test_support import verbose
+import warnings
+warnings.filterwarnings("ignore", "the regex module is deprecated",
+ DeprecationWarning, "test_regex")
import regex
from regex_syntax import *