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