Mercurial > cpython-lru_cache-weakref
diff Lib/test/string_tests.py @ 28033:1c2c97d34563 legacy-trunk
Get test to work on alpha
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Sun, 23 Feb 2003 23:15:26 +0000 |
| parents | fe10ece8ba68 |
| children | 632a6cae0be6 |
line wrap: on
line diff
--- a/Lib/test/string_tests.py Sun Feb 23 23:11:41 2003 +0000 +++ b/Lib/test/string_tests.py Sun Feb 23 23:15:26 2003 +0000 @@ -504,7 +504,7 @@ 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
