def test_precision_epoch():
 t_utc = Time(range(1980, 2001), format='jyear', scale='utc')
 t_tai = Time(range(1980, 2001), format='jyear', scale='tai')
 dt = (t_utc - t_tai)
 assert allclose_sec(dt.sec, np.round(dt.sec))

def test_precision_epoch ( ) : t_utc = Time ( range ( 1980 , 2001 ) , format = 'jyear' , scale = 'utc' ) t_tai = Time ( range ( 1980 , 2001 ) , format = 'jyear' , scale = 'tai' ) dt = ( t_utc - t_tai ) assert allclose_sec ( dt . sec , np . round ( dt . sec ) )
check that input via epoch also has full precision .