def assert_quantity_allclose(actual, desired, rtol=1e-07, atol=None, **kwargs):
 import numpy as np
 np.testing.assert_allclose(*_unquantify_allclose_arguments(actual, desired, rtol, atol), **kwargs)

def assert_quantity_allclose ( actual , desired , rtol = 1e-07 , atol = None , ** kwargs ) : import numpy as np np . testing . assert_allclose ( * _unquantify_allclose_arguments ( actual , desired , rtol , atol ) , ** kwargs )
raise an assertion if two objects are not equal up to desired tolerance .