Commit af72d522 authored by Raymond Hettinger's avatar Raymond Hettinger

Add newsitem for the two new unittest methods.

Also, made some whitespace cleanup.
parent 79f57833
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment