diff options
-rwxr-xr-x | Lib/test/regrtest.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index eab22d66ca..4b9ef1a4ae 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -159,16 +159,6 @@ import warnings import unittest from inspect import isabstract -# I see no other way to suppress these warnings; -# putting them in test_grammar.py has no effect: -warnings.filterwarnings("ignore", "hex/oct constants", FutureWarning, - ".*test.test_grammar$") -if sys.maxsize > 0x7fffffff: - # Also suppress them in <string>, because for 64-bit platforms, - # that's where test_grammar.py hides them. - warnings.filterwarnings("ignore", "hex/oct constants", FutureWarning, - "<string>") - # Ignore ImportWarnings that only occur in the source tree, # (because of modules with the same name as source-directories in Modules/) for mod in ("ctypes", "gzip", "zipfile", "tarfile", "encodings.zlib_codec", |