def test_meta_comments():
 t = ascii.read(['#comment1', '#   comment2  DCTB ', 'a,b,c', '1,2,3'])
 assert (t.colnames == ['a', 'b', 'c'])
 assert (t.meta['comments'] == ['comment1', 'comment2'])

def test_meta_comments ( ) : t = ascii . read ( [ '#comment1' , '#   comment2  DCTB ' , 'a,b,c' , '1,2,3' ] ) assert ( t . colnames == [ 'a' , 'b' , 'c' ] ) assert ( t . meta [ 'comments' ] == [ 'comment1' , 'comment2' ] )
make sure that line comments are included in the meta attribute of the output table .