Lines Matching refs:places
606 def assertAlmostEqual(self, first, second, places=7, msg=None):
608 difference rounded to the given number of decimal places
611 Note that decimal places (from zero) are usually not the same
614 if round(abs(second-first), places) != 0:
615 standardMsg = '%r != %r within %r places' % (first, second, places)
619 def assertNotAlmostEqual(self, first, second, places=7, msg=None):
621 difference rounded to the given number of decimal places
624 Note that decimal places (from zero) are usually not the same
627 if round(abs(second-first), places) == 0:
628 standardMsg = '%r == %r within %r places' % (first, second, places)