[Python-checkins] python/dist/src/Lib/test test_math.py,1.17,1.18

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
2002年12月14日 11:51:36 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv21375/Lib/test
Modified Files:
	test_math.py 
Log Message:
Apply SF patch 652930: Add optional base argument to math.log(x[, base]).
Index: test_math.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_math.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** test_math.py	30 Jul 2002 23:27:11 -0000	1.17
--- test_math.py	14 Dec 2002 19:51:33 -0000	1.18
***************
*** 114,117 ****
--- 114,118 ----
 testit('log(1)', math.log(1), 0)
 testit('log(e)', math.log(math.e), 1)
+ testit('log(32,2)', math.log(32,2), 5)
 
 print 'log10'

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