summaryrefslogtreecommitdiffstats
path: root/Lib/test/string_tests.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-02-23 23:15:26 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-02-23 23:15:26 (GMT)
commit15ff0e9342dbb93cec682fdc1d5a87de4377f602 (patch)
tree14979db5dda7b01e30f45aeedb3615bbe0294fa0 /Lib/test/string_tests.py
parentd5a65a77cfdd81ad6945195c88e367fcd9f709c2 (diff)
downloadcpython-15ff0e9342dbb93cec682fdc1d5a87de4377f602.zip
cpython-15ff0e9342dbb93cec682fdc1d5a87de4377f602.tar.gz
cpython-15ff0e9342dbb93cec682fdc1d5a87de4377f602.tar.bz2
Get test to work on alpha
Diffstat (limited to 'Lib/test/string_tests.py')
-rw-r--r--Lib/test/string_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py
index 8a261f5..f668d31 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