def test_header_start_exception():
 for readerclass in [ascii.NoHeader, ascii.SExtractor, ascii.Ipac, ascii.BaseReader, ascii.FixedWidthNoHeader, ascii.Cds, ascii.Daophot]:
  with pytest.raises(ValueError):
   reader = ascii.core._get_reader(readerclass, header_start=5)

def test_header_start_exception ( ) : for readerclass in [ ascii . NoHeader , ascii . SExtractor , ascii . Ipac , ascii . BaseReader , ascii . FixedWidthNoHeader , ascii . Cds , ascii . Daophot ] : with pytest . raises ( ValueError ) : reader = ascii . core . _get_reader ( readerclass , header_start = 5 )
check certain readers throw an exception if header_start is set for certain readers it does not make sense to set the header_start .