def test_TimeFormat_scale():
 t = Time('1900-01-01', scale='ut1')
 t.delta_ut1_utc = 0.0
 t.unix
 assert (t.unix == t.utc.unix)

def test_TimeFormat_scale ( ) : t = Time ( '1900-01-01' , scale = 'ut1' ) t . delta_ut1_utc = 0.0 t . unix assert ( t . unix == t . utc . unix )
guard against recurrence of #1122 .