summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_warnings.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2006-02-27 20:03:56 (GMT)
committerBrett Cannon <bcannon@gmail.com>2006-02-27 20:03:56 (GMT)
commitbe66e943c2efb9c83cd139ae036d721a6ce592b0 (patch)
tree8fd2c334b034742bd0387c01cbdcfaaa12abe688 /Lib/test/test_warnings.py
parent59977a677c9609c3e0e05bbd2ffb8344e4c66c8e (diff)
downloadcpython-be66e943c2efb9c83cd139ae036d721a6ce592b0.zip
cpython-be66e943c2efb9c83cd139ae036d721a6ce592b0.tar.gz
cpython-be66e943c2efb9c83cd139ae036d721a6ce592b0.tar.bz2
Don't filter out OverflowWarning; should be a test failure if it is raised by
the interpreter in 2.5 .
Diffstat (limited to 'Lib/test/test_warnings.py')
-rw-r--r--Lib/test/test_warnings.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_warnings.py b/Lib/test/test_warnings.py
index c861a2e..b7061c1 100644
--- a/Lib/test/test_warnings.py
+++ b/Lib/test/test_warnings.py
@@ -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: