[Python-checkins] CVS: python/dist/src/Lib/test test_long.py,1.13,1.14

Tim Peters tim_one@users.sourceforge.net
2001年9月04日 12:48:03 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv7479/python/Lib/test
Modified Files:
	test_long.py 
Log Message:
Revert one of the "division fixes" in test_long. It intends to try both
"/" and "//", and doesn't really care what they *mean*, just that both
are tried (and that, whatever they mean, they act similarly for int and
long arguments).
Index: test_long.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_long.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** test_long.py	2001年09月04日 19:14:14	1.13
--- test_long.py	2001年09月04日 19:48:01	1.14
***************
*** 297,302 ****
 
 if y:
! expected = longx // longy
! got = x // y
 checkit(x, '/', y)
 
--- 297,302 ----
 
 if y:
! expected = longx / longy
! got = x / y
 checkit(x, '/', y)
 

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