diff options
author | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-11-02 14:46:41 (GMT) |
---|---|---|
committer | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-11-02 14:46:41 (GMT) |
commit | b36f8329c06bba56e25698452f4bfabdd9fb4126 (patch) | |
tree | fa9c71fc90a12989400155f127172f2f3134e98f /Doc | |
parent | e509ff4d5cbef58d270f0e6784424d408a0b9572 (diff) | |
download | cpython-b36f8329c06bba56e25698452f4bfabdd9fb4126.zip cpython-b36f8329c06bba56e25698452f4bfabdd9fb4126.tar.gz cpython-b36f8329c06bba56e25698452f4bfabdd9fb4126.tar.bz2 |
Removing the keyword only restriction for the places argument in unittest.TestCase.assert[Not]AlmostEqual
Diffstat (limited to 'Doc')
-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 d88b823..4c29119 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -652,8 +652,8 @@ Test cases :meth:`failIfEqual`. - .. method:: assertAlmostEqual(first, second, *, places=7, msg=None) - failUnlessAlmostEqual(first, second, *, places=7, msg=None) + .. method:: assertAlmostEqual(first, second, places=7, msg=None) + failUnlessAlmostEqual(first, second, places=7, msg=None) Test that *first* and *second* are approximately equal by computing the difference, rounding to the given number of decimal *places* (default 7), @@ -668,8 +668,8 @@ Test cases :meth:`failUnlessAlmostEqual`. - .. method:: assertNotAlmostEqual(first, second, *, places=7, msg=None) - failIfAlmostEqual(first, second, *, places=7, msg=None) + .. method:: assertNotAlmostEqual(first, second, places=7, msg=None) + failIfAlmostEqual(first, second, places=7, msg=None) Test that *first* and *second* are not approximately equal by computing the difference, rounding to the given number of decimal *places* (default |