'Input subformat selection'

def test_input_subformat(self):

    times = ['2000-01-01', '2000-01-01    01:01', '2000-01-01    01:01:01', '2000-01-01    01:01:01.123']
    t = Time(times, format='iso', scale='tai')
    assert np.all((t.iso == np.array(['2000-01-01    00:00:00.000', '2000-01-01    01:01:00.000', '2000-01-01    01:01:01.000', '2000-01-01    01:01:01.123'])))
    times = ['2000-01-01    01:01', '2000-01-01    01:01:01', '2000-01-01    01:01:01.123']
    t = Time(times, format='iso', scale='tai', in_subfmt='date_*')
    assert np.all((t.iso == np.array(['2000-01-01    01:01:00.000', '2000-01-01    01:01:01.000', '2000-01-01    01:01:01.123'])))
