From: Neal Norwitz Date: Sun, 23 Feb 2003 23:15:26 +0000 (+0000) Subject: Get test to work on alpha X-Git-Tag: v2.3c1~1714 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=15ff0e9342dbb93cec682fdc1d5a87de4377f602;p=thirdparty%2FPython%2Fcpython.git Get test to work on alpha --- diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py index 8a261f5c82e3..f668d31fa474 100644 --- a/Lib/test/string_tests.py +++ b/Lib/test/string_tests.py @@ -504,7 +504,7 @@ class MixinStrUnicodeUserStringTest: self.checkequal('abcabcabc', 'abc', '__mul__', 3) self.checkraises(TypeError, 'abc', '__mul__') self.checkraises(TypeError, 'abc', '__mul__', '') - self.checkraises(OverflowError, 10000*'abc', '__mul__', sys.maxint) + self.checkraises(OverflowError, 10000*'abc', '__mul__', 2000000000) def test_join(self): # join now works with any sequence type