Kaydet (Commit) be66e943 authored tarafından Brett Cannon's avatar Brett Cannon

Don't filter out OverflowWarning; should be a test failure if it is raised by

the interpreter in 2.5 .
üst 59977a67
...@@ -44,8 +44,7 @@ class TestModule(unittest.TestCase): ...@@ -44,8 +44,7 @@ class TestModule(unittest.TestCase):
def test_warn_specific_category(self): def test_warn_specific_category(self):
text = 'None' text = 'None'
# XXX OverflowWarning should go away for Python 2.5. for category in [DeprecationWarning, FutureWarning,
for category in [DeprecationWarning, FutureWarning, OverflowWarning,
PendingDeprecationWarning, RuntimeWarning, PendingDeprecationWarning, RuntimeWarning,
SyntaxWarning, UserWarning, Warning]: SyntaxWarning, UserWarning, Warning]:
if category.__name__ in self.ignored: if category.__name__ in self.ignored:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment