mirror of https://github.com/python/cpython
Add newsitem for the two new unittest methods.
Also, made some whitespace cleanup.
This commit is contained in:
parent
79f57833f3
commit
af72d5221f
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue