Kaydet (Commit) 83b120d6 authored tarafından Guido van Rossum's avatar Guido van Rossum

Turn OverflowWarning into an error locally, in order to make the

OverflowError test succeed.
üst acc21d88
......@@ -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!
......
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