[Python-checkins] CVS: python/dist/src/Lib/test test_fpformat.py,1.1,1.2
Tim Peters
tim_one@users.sourceforge.net
2001年7月23日 02:44:23 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv2004/python/dist/src/lib/test
Modified Files:
test_fpformat.py
Log Message:
Whitespace normalization.
Note: This test fails on Windows. Don't know why yet.
Index: test_fpformat.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_fpformat.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** test_fpformat.py 2001年07月23日 02:46:35 1.1
--- test_fpformat.py 2001年07月23日 09:44:21 1.2
***************
*** 11,18 ****
# Test the old and obsolescent fpformat module.
#
! # (It's obsolescent because fix(n,d) == "%.*f"%(d,n) and
# sci(n,d) == "%.*e"%(d,n)
! # for all reasonable numeric n and d, except that sci gives 3 exponent
! # digits instead of 2.
#
# Differences only occur for unreasonable n and d. <.2 wink>)
--- 11,18 ----
# Test the old and obsolescent fpformat module.
#
! # (It's obsolescent because fix(n,d) == "%.*f"%(d,n) and
# sci(n,d) == "%.*e"%(d,n)
! # for all reasonable numeric n and d, except that sci gives 3 exponent
! # digits instead of 2.
#
# Differences only occur for unreasonable n and d. <.2 wink>)
***************
*** 65,67 ****
run_unittest(FpformatTest)
-
--- 65,66 ----