diff options
author | Fred Drake <fdrake@acm.org> | 2000-12-23 22:08:27 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-12-23 22:08:27 (GMT) |
commit | 9a1a7dda8f5f3c4c66ab1e24d9b8cf4895249868 (patch) | |
tree | c4ec250d3b33033adafa461c5a32de5eb061026b /Lib | |
parent | 994d8539f690c19f7dcd02c9f595734e9d566e76 (diff) | |
download | cpython-9a1a7dda8f5f3c4c66ab1e24d9b8cf4895249868.zip cpython-9a1a7dda8f5f3c4c66ab1e24d9b8cf4895249868.tar.gz cpython-9a1a7dda8f5f3c4c66ab1e24d9b8cf4895249868.tar.bz2 |
The regression test for the regex module should not trip the deprecation
warning for that module, so suppress just that one warning.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_regex.py | 3 |
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 * |