From 88b1defb6f770c4f74788e8296b88fc31c3936ce Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 14 Aug 2002 17:54:48 +0000 Subject: [PATCH] The filterwarnings() call here should be updated to filter out FutureWarning. --- Lib/test/regrtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index dee2847a45d..3ae73b42738 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -67,7 +67,7 @@ # 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