def test_unicode_column_names(table_types):
 if six.PY2:
  t = table_types.Table([[1]], names=(six.text_type('a'),))
  assert (t.colnames == ['a'])
  t[six.text_type('b')] = 0.0
  assert (t.colnames == ['a', 'b'])

def test_unicode_column_names ( table_types ) : if six . PY2 : t = table_types . Table ( [ [ 1 ] ] , names = ( six . text_type ( 'a' ) , ) ) assert ( t . colnames == [ 'a' ] ) t [ six . text_type ( 'b' ) ] = 0.0 assert ( t . colnames == [ 'a' , 'b' ] )
test that unicode column names are accepted .