#NEWLINE# def testDisconnectFromFilterChangedOnDestruct( self ) : #NEWLINE# #INDENT# f = Gaffer . FileNamePathFilter ( [ '*.gfr' ] ) #NEWLINE# p = Gaffer . FileSystemPath ( '/a/b/c' , filter = f ) #NEWLINE# c = p . pathChangedSignal ( ) #NEWLINE# del p #NEWLINE# del c #NEWLINE# f . setEnabled ( False )