def test_leap_seconds_rounded_correctly():
 t = Time(['2012-06-30 23:59:59.413', '2012-07-01 00:00:00.413'], scale='ut1', precision=3).utc
 assert np.all((t.iso == np.array(['2012-06-30 23:59:60.000', '2012-07-01 00:00:00.000'])))

def test_leap_seconds_rounded_correctly ( ) : t = Time ( [ '2012-06-30 23:59:59.413' , '2012-07-01 00:00:00.413' ] , scale = 'ut1' , precision = 3 ) . utc assert np . all ( ( t . iso == np . array ( [ '2012-06-30 23:59:60.000' , '2012-07-01 00:00:00.000' ] ) ) )
regression tests against #2083 .