#NEWLINE# def test_nestedParentJump( self ) : #NEWLINE# #INDENT# with ui . ColumnLayout ( ) as cl : #NEWLINE# #INDENT# self . assertEqual ( pm . currentParent ( ) , cl ) #NEWLINE# with pm . rowLayout ( ) as rl : #NEWLINE# #INDENT# self . assertEqual ( pm . currentParent ( ) , rl ) #NEWLINE# with cl : #NEWLINE# #INDENT# self . assertEqual ( pm . currentParent ( ) , cl ) #NEWLINE# #UNINDENT# self . assertEqual ( pm . currentParent ( ) , self ) #NEWLINE# #UNINDENT# self . assertEqual ( pm . currentParent ( ) , cl ) #NEWLINE# #UNINDENT# self . assertEqual ( pm . currentParent ( ) , self . win )