def test_daophot_indef():
 table = ascii.read('t/daophot2.dat', Reader=ascii.Daophot)
 for colname in table.colnames:
  mask_value = (colname in ('OTIME', 'MAG', 'MERR', 'XAIRMASS'))
  assert np.all((table[colname].mask == mask_value))

def test_daophot_indef ( ) : table = ascii . read ( 't/daophot2.dat' , Reader = ascii . Daophot ) for colname in table . colnames : mask_value = ( colname in ( 'OTIME' , 'MAG' , 'MERR' , 'XAIRMASS' ) ) assert np . all ( ( table [ colname ] . mask == mask_value ) )
test that indef is correctly interpreted as a missing value .