def test_make_table(table_types, mixin_cols):
 t = table_types.Table(mixin_cols)
 check_mixin_type(t, t['m'], mixin_cols['m'])
 cols = list(mixin_cols.values())
 t = table_types.Table(cols, names=('i', 'a', 'b', 'm'))
 check_mixin_type(t, t['m'], mixin_cols['m'])
 t = table_types.Table(cols)
 check_mixin_type(t, t['col3'], mixin_cols['m'])

def test_make_table ( table_types , mixin_cols ) : t = table_types . Table ( mixin_cols ) check_mixin_type ( t , t [ 'm' ] , mixin_cols [ 'm' ] ) cols = list ( mixin_cols . values ( ) ) t = table_types . Table ( cols , names = ( 'i' , 'a' , 'b' , 'm' ) ) check_mixin_type ( t , t [ 'm' ] , mixin_cols [ 'm' ] ) t = table_types . Table ( cols ) check_mixin_type ( t , t [ 'col3' ] , mixin_cols [ 'm' ] )
make a table with the columns in mixin_cols .