#NEWLINE# def test_with_poly_use_mapper( self ) : #NEWLINE# #INDENT# Person = _poly_fixtures . Person #NEWLINE# Engineer = _poly_fixtures . Engineer #NEWLINE# emapper = inspect ( Engineer ) #NEWLINE# p_poly = with_polymorphic ( Person , [ Engineer ] , _use_mapper_path = True ) #NEWLINE# p_poly = inspect ( p_poly ) #NEWLINE# p1 = PathRegistry . coerce ( ( p_poly , emapper . attrs . machines ) ) #NEWLINE# eq_ ( p1 . path , ( emapper , emapper . attrs . machines ) )