From: Guido van Rossum Date: Wed, 14 Aug 2002 17:54:48 +0000 (+0000) Subject: The filterwarnings() call here should be updated to filter out X-Git-Tag: v2.3c1~4465 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88b1defb6f770c4f74788e8296b88fc31c3936ce;p=python The filterwarnings() call here should be updated to filter out FutureWarning. --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index dee2847a45..3ae73b4273 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -67,7 +67,7 @@ import warnings # I see no other way to suppress these warnings; # putting them in test_grammar.py has no effect: -warnings.filterwarnings("ignore", "hex/oct constants", DeprecationWarning, +warnings.filterwarnings("ignore", "hex/oct constants", FutureWarning, ".*test.test_grammar$") from test import test_support