def test_daophot_types():
 table = ascii.read('t/daophot2.dat', Reader=ascii.Daophot)
 assert (table['LID'].dtype.char in 'fd')
 assert (table['MAG'].dtype.char in 'fd')
 assert (table['PIER'].dtype.char in 'US')
 assert (table['ID'].dtype.char in 'il')

def test_daophot_types ( ) : table = ascii . read ( 't/daophot2.dat' , Reader = ascii . Daophot ) assert ( table [ 'LID' ] . dtype . char in 'fd' ) assert ( table [ 'MAG' ] . dtype . char in 'fd' ) assert ( table [ 'PIER' ] . dtype . char in 'US' ) assert ( table [ 'ID' ] . dtype . char in 'il' )
test specific data types which are different from what would be inferred automatically based only data values .