]> granicus.if.org Git - python/commitdiff
Don't filter out OverflowWarning; should be a test failure if it is raised by
authorBrett Cannon <bcannon@gmail.com>
Mon, 27 Feb 2006 20:03:56 +0000 (20:03 +0000)
committerBrett Cannon <bcannon@gmail.com>
Mon, 27 Feb 2006 20:03:56 +0000 (20:03 +0000)
the interpreter in 2.5 .

Lib/test/test_warnings.py

index c861a2ebc82b242d5aaf84bc373f58cffa5f2ae3..b7061c1b5fa88578fa921eacdaaf7a9d79e7ac5f 100644 (file)
@@ -44,8 +44,7 @@ class TestModule(unittest.TestCase):
 
     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: