#NEWLINE# def testUserData( self ) : #NEWLINE# #INDENT# pathFilter = Gaffer . FileNamePathFilter ( [ '*.gfr' ] ) #NEWLINE# self . assertEqual ( pathFilter . userData ( ) , IECore . CompoundData ( ) ) #NEWLINE# ud = IECore . CompoundData ( { #NEWLINE# #INDENT# 'a' : 'a' , #NEWLINE# #UNINDENT# } ) #NEWLINE# pathFilter = Gaffer . FileNamePathFilter ( [ '*.gfr' ] , userData = ud ) #NEWLINE# self . assertEqual ( pathFilter . userData ( ) , ud ) #NEWLINE# self . failIf ( ( pathFilter . userData ( ) is self ) )