diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-01-08 19:39:04 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-01-08 19:39:04 (GMT) |
commit | 5b77d6dfa39a0a7d6c3668c476b36e6d34cb96f3 (patch) | |
tree | 61144edf485ba26c5f37a48b3c4dc6a3066b72ab | |
parent | 7a2ee0b460afe426fa84bdcc0e160a0a4c343a57 (diff) | |
download | cpython-5b77d6dfa39a0a7d6c3668c476b36e6d34cb96f3.zip cpython-5b77d6dfa39a0a7d6c3668c476b36e6d34cb96f3.tar.gz cpython-5b77d6dfa39a0a7d6c3668c476b36e6d34cb96f3.tar.bz2 |
Remove obsolete warning filters in regrtest.py (from issue #7092 -- patch by
Florent Xicluna).
-rwxr-xr-x | Lib/test/regrtest.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index fd6cafc..6bc0dc3 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -160,15 +160,6 @@ import traceback import warnings 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, # (because of modules with the same name as source-directories in Modules/) |