[Python-checkins] r42619 - python/trunk/Lib/test/test_warnings.py

brett.cannon python-checkins at python.org
Mon Feb 27 21:03:59 CET 2006


Author: brett.cannon
Date: Mon Feb 27 21:03:56 2006
New Revision: 42619

Modified:
   python/trunk/Lib/test/test_warnings.py
Log:
Don't filter out OverflowWarning; should be a test failure if it is raised by
the interpreter in 2.5 .


Modified: python/trunk/Lib/test/test_warnings.py
==============================================================================
--- python/trunk/Lib/test/test_warnings.py	(original)
+++ python/trunk/Lib/test/test_warnings.py	Mon Feb 27 21:03:56 2006
@@ -44,8 +44,7 @@
 
     def test_warn_specific_category(self):
         text = 'None'
-        # XXX OverflowWarning should go away for Python 2.5.
-        for category in [DeprecationWarning, FutureWarning, OverflowWarning,
+        for category in [DeprecationWarning, FutureWarning,
                     PendingDeprecationWarning, RuntimeWarning,
                     SyntaxWarning, UserWarning, Warning]:
             if category.__name__ in self.ignored:


More information about the Python-checkins mailing list