@pytest.mark.parametrize('parallel', [True, False])
def test_csv_comment_default(parallel, read_csv):
 text = 'a,b,c\n#1,2,3\n4,5,6'
 table = read_csv(text, parallel=parallel)
 expected = Table([['#1', '4'], [2, 5], [3, 6]], names=('a', 'b', 'c'))
 assert_table_equal(table, expected)

@ pytest . mark . parametrize ( 'parallel' , [ True , False ] ) def test_csv_comment_default ( parallel , read_csv ) : text = 'a,b,c\n#1,2,3\n4,5,6' table = read_csv ( text , parallel = parallel ) expected = Table ( [ [ '#1' , '4' ] , [ 2 , 5 ] , [ 3 , 6 ] ] , names = ( 'a' , 'b' , 'c' ) ) assert_table_equal ( table , expected )
unless the comment parameter is specified .