assert_time_allclose

gammapy.utils.testing.assert_time_allclose(actual, desired)[source]

Assert that two astropy.time.Time objects are almost the same.