[Python-checkins] python/dist/src/Lib/test string_tests.py,1.27,1.28

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
2003年2月23日 15:15:29 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv12678/Lib/test
Modified Files:
	string_tests.py 
Log Message:
Get test to work on alpha
Index: string_tests.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/string_tests.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** string_tests.py	21 Feb 2003 12:53:49 -0000	1.27
--- string_tests.py	23 Feb 2003 23:15:26 -0000	1.28
***************
*** 505,509 ****
 self.checkraises(TypeError, 'abc', '__mul__')
 self.checkraises(TypeError, 'abc', '__mul__', '')
! self.checkraises(OverflowError, 10000*'abc', '__mul__', sys.maxint)
 
 def test_join(self):
--- 505,509 ----
 self.checkraises(TypeError, 'abc', '__mul__')
 self.checkraises(TypeError, 'abc', '__mul__', '')
! self.checkraises(OverflowError, 10000*'abc', '__mul__', 2000000000)
 
 def test_join(self):

AltStyle によって変換されたページ (->オリジナル) /