@pytest.mark.xfail
def test_precision_neg():
 t1 = Time((-100000.123456), format='jd', scale='tt')
 assert (np.round(t1.jd1) == t1.jd1)
 t1_tai = t1.tai
 assert (np.round(t1_tai.jd1) == t1_tai.jd1)

@ pytest . mark . xfail def test_precision_neg ( ) : t1 = Time ( ( - 100000.123456 ) , format = 'jd' , scale = 'tt' ) assert ( np . round ( t1 . jd1 ) == t1 . jd1 ) t1_tai = t1 . tai assert ( np . round ( t1_tai . jd1 ) == t1_tai . jd1 )
check precision when jd1 is negative .