The regression test for the regex module should not trip the deprecation
warning for that module, so suppress just that one warning.
This commit is contained in:
parent
994d8539f6
commit
9a1a7dda8f
|
@ -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 *
|
||||
|
||||
|
|
Loading…
Reference in New Issue