Commit 0157ebe9 authored by Walter Dörwald's avatar Walter Dörwald

Fix chr() test (1000000 was accepted on a UCS4 build).

parent 2bf7138b
......@@ -99,7 +99,7 @@ class ExceptionTests(unittest.TestCase):
except TypeError: pass
self.raise_catch(ValueError, "ValueError")
self.assertRaises(ValueError, chr, 1000000)
self.assertRaises(ValueError, chr, sys.maxunicode+1)
self.raise_catch(ZeroDivisionError, "ZeroDivisionError")
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