#NEWLINE# def test_deepcopied( self ) : #NEWLINE# #INDENT# 'Test if the MayaVi2 visualization can be deep-copied.' #NEWLINE# s = self . scene #NEWLINE# source = s . children . pop ( ) #NEWLINE# s . children . append ( source ) #NEWLINE# cp = source . children [ 0 ] . children [ ( - 1 ) ] #NEWLINE# cp . implicit_plane . widget . enabled = False #NEWLINE# self . check ( ) #NEWLINE# source1 = copy . deepcopy ( source ) #NEWLINE# s . children [ 0 ] = source1 #NEWLINE# cp = source1 . children [ 0 ] . children [ ( - 1 ) ] #NEWLINE# cp . implicit_plane . widget . enabled = False #NEWLINE# self . check ( )