#NEWLINE# def test_aliased_class( self ) : #NEWLINE# #INDENT# Address = self . classes . Address #NEWLINE# ualias = aliased ( Address ) #NEWLINE# insp = inspect ( ualias ) #NEWLINE# is_ ( insp . mapper , inspect ( insp ) ) #NEWLINE# is_ ( insp . selectable , ualias . _aliased_insp . selectable ) #NEWLINE# assert ( not insp . is_selectable ) #NEWLINE# assert insp . is_aliased_class