[Python-checkins] r77374 - python/trunk/Lib/test/regrtest.py

antoine.pitrou python-checkins at python.org
Fri Jan 8 20:39:04 CET 2010


Author: antoine.pitrou
Date: Fri Jan  8 20:39:04 2010
New Revision: 77374

Log:
Remove obsolete warning filters in regrtest.py (from issue #7092 -- patch by
Florent Xicluna).



Modified:
   python/trunk/Lib/test/regrtest.py

Modified: python/trunk/Lib/test/regrtest.py
==============================================================================
--- python/trunk/Lib/test/regrtest.py	(original)
+++ python/trunk/Lib/test/regrtest.py	Fri Jan  8 20:39:04 2010
@@ -160,15 +160,6 @@
 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/)


More information about the Python-checkins mailing list