def test_no_units_for_char_columns():
 t1 = Table([['A']], names='B')
 out = StringIO()
 ascii.write(t1, out, format='ipac')
 t2 = ascii.read(out.getvalue(), format='ipac', guess=False)
 assert (t2['B'].unit is None)

def test_no_units_for_char_columns ( ) : t1 = Table ( [ [ 'A' ] ] , names = 'B' ) out = StringIO ( ) ascii . write ( t1 , out , format = 'ipac' ) t2 = ascii . read ( out . getvalue ( ) , format = 'ipac' , guess = False ) assert ( t2 [ 'B' ] . unit is None )
test that a char column of a table is assigned no unit and not a dimensionless unit .