def _assert_not_almost_equal(a, b, **kwargs):
try:<EOL><INDENT>assert_almost_equal(a, b, **kwargs)<EOL>msg = ("<STR_LIT>"<EOL>"<STR_LIT>").format(a=a, b=b)<EOL>pytest.fail(msg=msg)<EOL><DEDENT>except AssertionError:<EOL><INDENT>pass<EOL><DEDENT>
Check that two objects are not approximately equal.

Parameters
----------
a : object
    The first object to compare.
b : object
    The second object to compare.
kwargs : dict
    The arguments passed to `assert_almost_equal`.