diff options
author | Guido van Rossum <guido@python.org> | 2007-07-17 00:34:25 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-07-17 00:34:25 +0000 |
commit | 9fefa943f5bf6f3727d156264b22f973834486bd (patch) | |
tree | 14f0caf31e14a6c94e432b9175250ce69fbfc8cf /Lib/test/test_exceptions.py | |
parent | 3c7f0dac92bf52cfc5d59bf572fe5586db0e91dd (diff) | |
download | cpython-9fefa943f5bf6f3727d156264b22f973834486bd.tar.gz |
Make the test of chr() overflow pass.
(Sigh. There are so many redundant tests.)
Diffstat (limited to 'Lib/test/test_exceptions.py')
-rw-r--r-- | Lib/test/test_exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index 27ddf72ab7..56a990d649 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -99,7 +99,7 @@ class ExceptionTests(unittest.TestCase): except TypeError: pass self.raise_catch(ValueError, "ValueError") - self.assertRaises(ValueError, chr, sys.maxunicode+1) + self.assertRaises(ValueError, chr, 17<<16) self.raise_catch(ZeroDivisionError, "ZeroDivisionError") try: x = 1/0 |