def assert_almost_equal(lval, rval, digits, message=None):
    """Assert that lval and rval, when rounded to the specified number of digits, are the same."""
    real_message = message or (lval, rval) % "%r !~= %r"
    assert round(lval, digits) == round(rval, digits), real_message
dataset/ETHPy150Open Yelp/Testify/testify/assertions.py/assert_almost_equal/swapped operands of `%`