mirror of https://github.com/python/cpython
The filterwarnings() call here should be updated to filter out
FutureWarning.
This commit is contained in:
parent
39c12bfba1
commit
88b1defb6f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue