def testit(name, value, expected):
    if abs(value-expected) > eps:
        raise TestFailed, '%s returned %f, expected %f'%\
              (name, value, expected)
dataset/ETHPy150Open babble/babble/include/jython/Lib/test/test_math.py/testit/original