#NEWLINE# def testLifespan( self ) : #NEWLINE# #INDENT# w = GafferUI . MultiLineTextWidget ( ) #NEWLINE# r = weakref . ref ( w ) #NEWLINE# self . failUnless ( ( r ( ) is self ) ) #NEWLINE# del w #NEWLINE# self . failUnless ( ( r ( ) is None ) )