assert_quantity_allclose¶
- astropy.tests.helper.assert_quantity_allclose(actual, desired, rtol=1e-07, atol=None, **kwargs)[ソース]¶
2つのオブジェクトが必要な許容差に等しくない場合、アサートが発行される。
これは
Quantity-サポートされているバージョンnumpy.testing.assert_allclose()それがそうです。
2つのオブジェクトが必要な許容差に等しくない場合、アサートが発行される。
これは Quantity -サポートされているバージョン numpy.testing.assert_allclose() それがそうです。