summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_warnings.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-08-25 02:14:08 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-08-25 02:14:08 (GMT)
commitc8854434790d3a281f0ea5a4714e5c01414413b0 (patch)
treef6edfa8738087c52d1fb4e077bba738f2f42cd49 /Lib/test/test_warnings.py
parent1fa040ba73db700debd9f5079fa2083a0937f8b6 (diff)
downloadcpython-c8854434790d3a281f0ea5a4714e5c01414413b0.zip
cpython-c8854434790d3a281f0ea5a4714e5c01414413b0.tar.gz
cpython-c8854434790d3a281f0ea5a4714e5c01414413b0.tar.bz2
Stop producing or using OverflowWarning. PEP 237 thought this would
happen in 2.3, but nobody noticed it still was getting generated (the warning was disabled by default). OverflowWarning and PyExc_OverflowWarning should be removed for 2.5, and left notes all over saying so.
Diffstat (limited to 'Lib/test/test_warnings.py')
-rw-r--r--Lib/test/test_warnings.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_warnings.py b/Lib/test/test_warnings.py
index 4bfae32..c861a2e 100644
--- a/Lib/test/test_warnings.py
+++ b/Lib/test/test_warnings.py
@@ -44,6 +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,
PendingDeprecationWarning, RuntimeWarning,
SyntaxWarning, UserWarning, Warning]: