@pytest.mark.parametrize('parallel', [True, False])
def test_include_names(parallel, read_basic):
 table = read_basic('A B C D\n1 2 3 4\n5 6 7 8', include_names=['A', 'D'], parallel=parallel)
 expected = Table([[1, 5], [4, 8]], names=('A', 'D'))
 assert_table_equal(table, expected)

@ pytest . mark . parametrize ( 'parallel' , [ True , False ] ) def test_include_names ( parallel , read_basic ) : table = read_basic ( 'A B C D\n1 2 3 4\n5 6 7 8' , include_names = [ 'A' , 'D' ] , parallel = parallel ) expected = Table ( [ [ 1 , 5 ] , [ 4 , 8 ] ] , names = ( 'A' , 'D' ) ) assert_table_equal ( table , expected )
if include_names is not none .