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:
Fred Drake 2000-12-23 22:08:27 +00:00
parent 994d8539f6
commit 9a1a7dda8f
1 changed files with 3 additions and 0 deletions

View File

@ -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 *