diff --git a/Lib/test/test_regex.py b/Lib/test/test_regex.py index 3bb78efb1d8..b925a669382 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 *