]> granicus.if.org Git - python/commitdiff
The filterwarnings() call here should be updated to filter out
authorGuido van Rossum <guido@python.org>
Wed, 14 Aug 2002 17:54:48 +0000 (17:54 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 14 Aug 2002 17:54:48 +0000 (17:54 +0000)
FutureWarning.

Lib/test/regrtest.py

index dee2847a45d0a01c58ac57db453724a9598a48f7..3ae73b427386999c5029e6530e2a255354708b82 100755 (executable)
@@ -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