From 90fa3c5b18429e74c69ba9eee2508621d87a905f Mon Sep 17 00:00:00 2001 From: Ron Date: Sat, 14 Oct 2017 23:00:24 +0300 Subject: [PATCH] Add missing word in docstring of assertAlmostEqual & assertNotAlmostEqual of TestCase. --- Lib/unittest/case.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py index c48a63c575f28b..c0170d182573cb 100644 --- a/Lib/unittest/case.py +++ b/Lib/unittest/case.py @@ -852,7 +852,8 @@ def assertAlmostEqual(self, first, second, places=None, msg=None, """Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the - between the two objects is more than the given delta. + difference between the two objects is more than the given + delta. Note that decimal places (from zero) are usually not the same as significant digits (measured from the most significant digit). @@ -896,7 +897,7 @@ def assertNotAlmostEqual(self, first, second, places=None, msg=None, """Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero, or by comparing that the - between the two objects is less than the given delta. + difference between the two objects is less than the given delta. Note that decimal places (from zero) are usually not the same as significant digits (measured from the most significant digit).