projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5a65a7
)
Get test to work on alpha
author
Neal Norwitz
<nnorwitz@gmail.com>
Sun, 23 Feb 2003 23:15:26 +0000
(23:15 +0000)
committer
Neal Norwitz
<nnorwitz@gmail.com>
Sun, 23 Feb 2003 23:15:26 +0000
(23:15 +0000)
Lib/test/string_tests.py
patch
|
blob
|
history
diff --git
a/Lib/test/string_tests.py
b/Lib/test/string_tests.py
index 8a261f5c82e332732fa0a55bdd4af2f7ff7c527c..f668d31fa4748bdb20efabffc9206badac069e18 100644
(file)
--- 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