[Python-checkins] r46317 - python/branches/sreifschneider-newnewexcept/Lib/test/test_exceptions.py

richard.jones python-checkins at python.org
Fri May 26 15:06:40 CEST 2006


Author: richard.jones
Date: Fri May 26 15:06:40 2006
New Revision: 46317

Modified:
   python/branches/sreifschneider-newnewexcept/Lib/test/test_exceptions.py
Log:
reinstate check

Modified: python/branches/sreifschneider-newnewexcept/Lib/test/test_exceptions.py
==============================================================================
--- python/branches/sreifschneider-newnewexcept/Lib/test/test_exceptions.py	(original)
+++ python/branches/sreifschneider-newnewexcept/Lib/test/test_exceptions.py	Fri May 26 15:06:40 2006
@@ -81,6 +81,9 @@
 except NameError: pass
 
 r(OverflowError)
+x = 1
+for dummy in range(128):
+    x += x  # this simply shouldn't blow up
 
 r(RuntimeError)
 print '(not used any more?)'


More information about the Python-checkins mailing list