assert_time_allclose¶
-
gammapy.utils.testing.assert_time_allclose(actual, desired, atol=0.001)[source]¶ Assert that two
astropy.time.Timeobjects are almost the same.atol is absolute tolerance in seconds.
gammapy.utils.testing.assert_time_allclose(actual, desired, atol=0.001)[source]¶Assert that two astropy.time.Time objects are almost the same.
atol is absolute tolerance in seconds.