#NEWLINE# def test_table_in_model_overrides_different_typed_column_in_mixin( self ) : #NEWLINE# #INDENT# class ColumnMixin ( ) : #NEWLINE# #INDENT# data = Column ( String ) #NEWLINE# #UNINDENT# class Model ( Base , ColumnMixin ) : #NEWLINE# #INDENT# __table__ = Table ( 'foo' , Base . metadata , Column ( 'data' , Integer ) , Column ( 'id' , Integer , primary_key = True ) ) #NEWLINE# #UNINDENT# model_col = Model . __table__ . c . data #NEWLINE# mixin_col = ColumnMixin . data #NEWLINE# assert ( model_col is not mixin_col ) #NEWLINE# eq_ ( model_col . name , 'data' ) #NEWLINE# assert ( model_col . type . __class__ is Integer )