diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index dea88fee8b3..104258a549d 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -2,6 +2,9 @@ from test_support import * from types import ClassType +import warnings + +warnings.filterwarnings("error", "", OverflowWarning, __name__) print '5. Built-in exceptions' # XXX This is not really enough, each *operation* should be tested!