Commit 5b77d6df authored by Antoine Pitrou's avatar Antoine Pitrou

Remove obsolete warning filters in regrtest.py (from issue #7092 -- patch by

Florent Xicluna).
parent 7a2ee0b4
...@@ -160,15 +160,6 @@ import traceback ...@@ -160,15 +160,6 @@ import traceback
import warnings import warnings
import unittest import unittest
# 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.maxint > 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, # Ignore ImportWarnings that only occur in the source tree,
# (because of modules with the same name as source-directories in Modules/) # (because of modules with the same name as source-directories in Modules/)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment