diff options
-rw-r--r-- | Doc/library/unittest.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 4bcc806..95ab13a 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -818,8 +818,8 @@ Test cases :meth:`failIfEqual`; use :meth:`assertNotEqual`. - .. method:: assertAlmostEqual(first, second, *, places=7, msg=None, delta=None) - failUnlessAlmostEqual(first, second, *, places=7, msg=None, delta=None) + .. method:: assertAlmostEqual(first, second, places=7, msg=None, delta=None) + failUnlessAlmostEqual(first, second, places=7, msg=None, delta=None) Test that *first* and *second* are approximately equal by computing the difference, rounding to the given number of decimal *places* (default 7), @@ -843,8 +843,8 @@ Test cases :meth:`failUnlessAlmostEqual`; use :meth:`assertAlmostEqual`. - .. method:: assertNotAlmostEqual(first, second, *, places=7, msg=None, delta=None) - failIfAlmostEqual(first, second, *, places=7, msg=None, delta=None) + .. method:: assertNotAlmostEqual(first, second, places=7, msg=None, delta=None) + failIfAlmostEqual(first, second, places=7, msg=None, delta=None) Test that *first* and *second* are not approximately equal by computing the difference, rounding to the given number of decimal *places* (default |