#NEWLINE# def test_pk_fk_different( self ) : #NEWLINE# #INDENT# class Base ( object ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# class Sub ( Base ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# mapper ( Base , base ) #NEWLINE# def go( ) : #NEWLINE# #INDENT# mapper ( Sub , subtable_two , inherits = Base ) #NEWLINE# #UNINDENT# assert_raises_message ( sa_exc . SAWarning , "Implicitly combining column base.base_id with column subtable_two.base_id under attribute 'base_id'" , self )