Commit e59bb827 authored by Guido van Rossum's avatar Guido van Rossum

test_exceptions.py passes, except for pickling of course.

parent f3da2df3
...@@ -98,7 +98,7 @@ class ExceptionTests(unittest.TestCase): ...@@ -98,7 +98,7 @@ class ExceptionTests(unittest.TestCase):
except TypeError: pass except TypeError: pass
self.raise_catch(ValueError, "ValueError") self.raise_catch(ValueError, "ValueError")
self.assertRaises(ValueError, chr, 10000) self.assertRaises(ValueError, chr, 1000000)
self.raise_catch(ZeroDivisionError, "ZeroDivisionError") self.raise_catch(ZeroDivisionError, "ZeroDivisionError")
try: x = 1/0 try: x = 1/0
......
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