mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Merge ssize_t branch.
This commit is contained in:
parent
4482929734
commit
18e165558b
102 changed files with 2659 additions and 1677 deletions
|
@ -627,7 +627,9 @@ class MixinStrUnicodeUserStringTest:
|
|||
self.checkequal('abcabcabc', 'abc', '__mul__', 3)
|
||||
self.checkraises(TypeError, 'abc', '__mul__')
|
||||
self.checkraises(TypeError, 'abc', '__mul__', '')
|
||||
self.checkraises(OverflowError, 10000*'abc', '__mul__', 2000000000)
|
||||
# XXX: on a 64-bit system, this doesn't raise an overflow error,
|
||||
# but either raises a MemoryError, or succeeds (if you have 54TiB)
|
||||
#self.checkraises(OverflowError, 10000*'abc', '__mul__', 2000000000)
|
||||
|
||||
def test_join(self):
|
||||
# join now works with any sequence type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue