Commits

Michael Foord  committed 73e5e3e

Correction of unittest documentation typos and omissions

  • Participants
  • Parent commits 2e8d2d7
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Doc/library/unittest.rst

 
 
    .. method:: assertAlmostEqual(first, second[, places[, msg[, delta]]])
-               failUnlessAlmostEqual(first, second[, places[, msg]])
+               failUnlessAlmostEqual(first, second[, places[, msg[, delta]]])
 
       Test that *first* and *second* are approximately equal by computing the
       difference, rounding to the given number of decimal *places* (default 7),
 
 
    .. method:: assertNotAlmostEqual(first, second[, places[, msg[, delta]]])
-               failIfAlmostEqual(first, second[, places[, msg]])
+               failIfAlmostEqual(first, second[, places[, msg[, delta]]])
 
       Test that *first* and *second* are not approximately equal by computing
       the difference, rounding to the given number of decimal *places* (default
 
       ``_makeResult()`` instantiates the class or callable passed in the
       ``TextTestRunner`` constructor as the ``resultclass`` argument. It
-      defaults to :class::`TextTestResult` if no ``resultclass`` is provided.
+      defaults to :class:`TextTestResult` if no ``resultclass`` is provided.
       The result class is instantiated with the following arguments::
 
             stream, descriptions, verbosity