#NEWLINE# def test_parentJump( self ) : #NEWLINE# #INDENT# cl = ui . ColumnLayout ( ) #NEWLINE# rl1 = ui . RowLayout ( ) #NEWLINE# with pm . rowLayout ( parent = cl ) as rl2 : #NEWLINE# #INDENT# self . assertEqual ( pm . currentParent ( ) , rl2 ) #NEWLINE# #UNINDENT# self . assertEqual ( pm . currentParent ( ) , cl )