assert_quantity_allclose#

astropy.tests.helper.assert_quantity_allclose(actual, desired, rtol=1e-07, atol=None, **kwargs)[source]#

Raise an assertion if two objects are not equal up to desired tolerance.

This is a Quantity-aware version of numpy.testing.assert_allclose().