summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMichael Foord <fuzzyman@voidspace.org.uk>2010-11-02 14:46:41 (GMT)
committerMichael Foord <fuzzyman@voidspace.org.uk>2010-11-02 14:46:41 (GMT)
commitb36f8329c06bba56e25698452f4bfabdd9fb4126 (patch)
treefa9c71fc90a12989400155f127172f2f3134e98f /Doc
parente509ff4d5cbef58d270f0e6784424d408a0b9572 (diff)
downloadcpython-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.rst8
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