@pytest.mark.parametrize('fast_reader', [True, False, 'force'])
def test_overlapping_names(fast_reader):
 t = ascii.read(['a b', '1 2'], names=['b', 'a'], fast_reader=fast_reader)
 assert (t.colnames == ['b', 'a'])

@ pytest . mark . parametrize ( 'fast_reader' , [ True , False , 'force' ] ) def test_overlapping_names ( fast_reader ) : t = ascii . read ( [ 'a b' , '1 2' ] , names = [ 'b' , 'a' ] , fast_reader = fast_reader ) assert ( t . colnames == [ 'b' , 'a' ] )
check that the names argument list can overlap with the existing column names .