#NEWLINE# def test__filter_multi_partres( self ) : #NEWLINE# #INDENT# targ = [ self . spikes1a [ 0 ] ] #NEWLINE# name = self . spikes1a [ 0 ] . name #NEWLINE# res0 = self . targobj . filter ( name = name , j = 5 ) #NEWLINE# res1 = self . targobj . filter ( { #NEWLINE# #INDENT# 'name' : name , #NEWLINE# 'j' : 5 , #NEWLINE# #UNINDENT# } ) #NEWLINE# res2 = self . targobj . filter ( targdict = { #NEWLINE# #INDENT# 'name' : name , #NEWLINE# 'j' : 5 , #NEWLINE# #UNINDENT# } ) #NEWLINE# res3 = self . targobj . filter ( [ { #NEWLINE# #INDENT# 'j' : 0 , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'i' : 0 , #NEWLINE# #UNINDENT# } ] ) #NEWLINE# res4 = self . targobj . filter ( { #NEWLINE# #INDENT# 'j' : 0 , #NEWLINE# #UNINDENT# } , i = 0 ) #NEWLINE# res5 = self . targobj . filter ( [ { #NEWLINE# #INDENT# 'j' : 0 , #NEWLINE# #UNINDENT# } ] , i = 0 ) #NEWLINE# assert_same_sub_schema ( res0 , targ ) #NEWLINE# assert_same_sub_schema ( res1 , targ ) #NEWLINE# assert_same_sub_schema ( res2 , targ ) #NEWLINE# assert_same_sub_schema ( res3 , targ ) #NEWLINE# assert_same_sub_schema ( res4 , targ ) #NEWLINE# assert_same_sub_schema ( res5 , targ )