def failUnlessAlmostEqual(self, first, second, places=7, 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.

           Note that decimal places (from zero) are usually not the same
           as significant digits (measured from the most signficant digit).
        """
        if round(second-first, places) != 0:
            raise self.failureException, \
                  (msg or (first, second, places) % '%r != %r within %r places')
dataset/ETHPy150Open babble/babble/include/jython/Lib/unittest.py/TestCase.failUnlessAlmostEqual/swapped operands of `%`