#NEWLINE# def test_deepcopied( self ) : #NEWLINE# #INDENT# 'Test if the MayaVi2 visualization can be deep-copied.\n           XXX: The plot 3d reader and multi block version are broken in\n                vtk 5.10.1. This will be fixed in next Mayavi release.' #NEWLINE# r = self . r #NEWLINE# e = self . e #NEWLINE# r1 = copy . deepcopy ( r ) #NEWLINE# e . add_source ( r1 ) #NEWLINE# o1 = r1 . children [ 0 ] . children [ 0 ] . children [ 0 ] #NEWLINE# self . assertEqual ( o1 . outline_filter . output . bounds , ( 1.0 , 2.0 , 1.0 , 2.0 , 1.0 , 2.0 ) ) #NEWLINE# r1 . children [ 0 ] . output_index = 1 #NEWLINE# self . assertEqual ( o1 . outline_filter . output . bounds , ( 2.0 , 3.0 , 1.0 , 2.0 , 1.0 , 2.0 ) )