diff options
-rwxr-xr-x | Lib/test/regrtest.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 1fa5d50..dee2847 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -63,6 +63,12 @@ import getopt import traceback import random import StringIO +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, + ".*test.test_grammar$") from test import test_support |