@pytest.mark.parametrize('parallel', [True, False])
def test_no_data(parallel, read_basic):
 table = read_basic('a b c', parallel=parallel)
 expected = Table([[], [], []], names=('a', 'b', 'c'))
 assert_table_equal(table, expected)
 table = read_basic('a b c\n1 2 3', data_start=2, parallel=parallel)
 assert_table_equal(table, expected)

@ pytest . mark . parametrize ( 'parallel' , [ True , False ] ) def test_no_data ( parallel , read_basic ) : table = read_basic ( 'a b c' , parallel = parallel ) expected = Table ( [ [ ] , [ ] , [ ] ] , names = ( 'a' , 'b' , 'c' ) ) assert_table_equal ( table , expected ) table = read_basic ( 'a b c\n1 2 3' , data_start = 2 , parallel = parallel ) assert_table_equal ( table , expected )
test no data and no data text option .