Add newsitem for the two new unittest methods.

Also, made some whitespace cleanup.
This commit is contained in:
Raymond Hettinger 2002-12-29 20:14:11 +00:00
parent 79f57833f3
commit af72d5221f
1 changed files with 21 additions and 15 deletions

View File

@ -437,6 +437,12 @@ Extension modules
Library
-------
- unittest.py now has two additional methods called assertAlmostEqual()
and failIfAlmostEqual(). They implement an approximate comparision
by rounding the difference between the two arguments and comparing
the result to zero. Approximate comparision is essential for
unit tests of floating point results.
- calendar.py now depends on the new datetime module rather than
the time module. As a result, the range of allowable dates
has been increased.