From: Antoine Pitrou Date: Fri, 8 Jan 2010 19:39:04 +0000 (+0000) Subject: Remove obsolete warning filters in regrtest.py (from issue #7092 -- patch by X-Git-Tag: v2.7a2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b77d6dfa39a0a7d6c3668c476b36e6d34cb96f3;p=python Remove obsolete warning filters in regrtest.py (from issue #7092 -- patch by Florent Xicluna). --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index fd6cafce7e..6bc0dc396f 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 , because for 64-bit platforms, - # that's where test_grammar.py hides them. - warnings.filterwarnings("ignore", "hex/oct constants", FutureWarning, - "") # Ignore ImportWarnings that only occur in the source tree, # (because of modules with the same name as source-directories in Modules/)